Micro-Ecom is a minimal project written in typescript, implementing a microservices architecture to provide a scalable and modular solution for various functionalities. This project covers features such as authentication, product creation, order creation, and product tampering checks and many more. Each functionality is encapsulated into a microservice, utilizing different databases for optimal data management.
-
Authentication Service
- Manages user authentication and authorization.
-
Product Service
- Handles product creation and related operations.
-
Order Service
- Manages the creation and processing of orders.
A centralized gateway manages incoming requests and routes them to the corresponding microservices.
Internal communication between microservices is facilitated by RabbitMQ, ensuring efficient and asynchronous communication.
- Node.js
- RabbitMQ
- Docker
-
Clone the repository.
git clone https://github.com/BandaySajid/micro-ecom cd micro-com
-
Copy configuration
cp ./src/config.sample.ts config.ts
-
Start Project.
sudo docker compose up
-
The system is now ready to receive requests.