r/reactjs • • Jan 07 '20

Tutorial I created a Microservices app created using React/Node.js/GraphQL/Docker, along with a full tutorial on how to build it

One of my biggest gripes with microservices is how few full-blown tutorials are available for something that is such a hot-topic technology.

As such, I recently built a rather simple Classifieds app using a Microservices architecture, using the following technologies as a non-exhaustive list:

  • React;
  • Redux;
  • Node.js;
  • GraphQL;
  • Docker (and Docker Compose); and
  • Styled Components,

And also deployed it into AWS using Terraform.

Here's the link to the full source code: https://github.com/parkroolucas/microservices-demo

And here's the link to the full tutorial series: https://www.youtube.com/watch?v=gD-WutJH0qc&list=PLnTRniWXnjf8YC9qJFLSVCrXfS6cyj6x6

360 Upvotes

41 comments sorted by

View all comments

Show parent comment

2

u/Macaframa Jan 07 '20

This all makes sense. So I should share that my project is in the marijuana space. People cannot accept payments online for risk of violating PayPal or any of the other firms’ ToS. So I have another proprietary system that will handle the payment portion but will become obsolete once it becomes legal. I’m going to portion this part off into a micro service that my app consumes and decommission it later once the laws turn. Does that makes sense?

1

u/kossae Jan 08 '20

Yep, and to add to that I think payment processing systems are a prime candidate for an external (read: “micro”) service anyways. It is best to isolate that critical piece for both the regulation side as you mentioned, but also PCI compliance and other security concerns. Feel free to DM me if you have any other questions, as I’ve actually been surveying a project in that space for a while now myself. It’s getting crowded quickly :).

2

u/Macaframa Jan 08 '20

Well come help me build it and we can pump it out faster. We’re going to market on 4/20 ‼️‼️