Skip to content

VasuDevrani/microservices-nugget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛒Cart Shop

Event driven microservice with tech blend and CI-CD

⚠️ API is not functional right now, to pause the billing of AWS services, but it works


Build details

Structure :
  - event driven microservices architecture
  - 3 layer application design
  - loosely coupled microservices
  - database per service
  - RPC and Pub/Sub using Message Broker
  
CI-CD:
  - github actions
  - AWS Elastic Beanstalk
  - Docker-Nodejs environment
  
Tech :
  - Language : typescript
  - App environment : Nodejs
  - Proxy : Nginx
  - Databases : Mongodb and MySQL
  - ORMs : Mongoose and Prisma
  - Containerization : docker, docker-compose
  - EsLint-Prettier-Husky
  - Nodejs best practices
  - Message Broker : RabbitMQ (ampqCloud)
  - RPC and Pub/Sub
  - Jest-Supertest testing (integration only)
  - npm and yarn
  - JWT
  - Error handling
    - Programmer error : Error class and middleware
    - Operational error : [Sentry.io]
 - API tested using Postman

Services :
  - Mysql
  - Mongodb
  - Nginx Proxy
  - application
    - Customer
    - Products
    - Shopping
  - Rabbitmq (cloud)

Run

  • git clone https://github.com/VasuDevrani/cartshop-mcr-svr.git
  • docker-compose up
  • wait for all services to start

Run in Postman