(WIP): This is an enterprise scale advanced microservice pattern with REST API and GRPC Microservices. Want to ask Mateus Oliveira questions, follow me on my the twitter :)
This should be the go to backend base for your next scalable project. This is a proof of concept project designed to be extremely slim and scalable, with distributed data request and process handling, built from the ground up for production use.
Software features
- ✅ Software as a Service
- ✅ Authentication by stateful session (Password)
- ✅ User
- ✅ REST API
- ✅ GRPC Microservice
- ✅ Emailing Queue
- ✅ Payment (Stripe)
- ✅ SaaS Plans (Stripe)
- ✅ (WiP) Webhooks
Senior candidate in the folder structure is the /app folder. This folder contains all executable programs or in this case microservices
/app/auth-serviceThe access microservice handles access token management for each tenant in the system. It also validates current tenant credentials against a tenant specific resources. It is the gate keeper for your tenant api./app/billing-serviceThe billing microservice manages billing and payment commands. It is tightly integrated with Stripe, but can be easily replaced./app/products-serviceThe products microservice manages products and prices commands. It is tightly integrated with Stripe, but can be easily replaced./app/products-serviceThe products microservice manages products and prices commands. It is tightly integrated with Stripe, but can be easily replaced./app/email-serviceThe email microservice manages emails sent.
Before starting the services, please added the variables.
$ docker-compose up --build$ yarn installRun each service in a separate terminal:
yarn build:ci- Except for email-service.
node apps/auth-service/src/index.js
node apps/email-service/src/index.js
node apps/billing-service/src/index.js
node apps/products-service/src/index.js