The Microservices E-Commerce project is an e-commerce system built on a microservices architecture. Each service performs a specific function and communicates with each other via protocols such as HTTP, gRPC, or message queues. The project is designed to be easy to extend, maintain, and deploy.
- 🌐 ApiGateway: Main communication gateway between clients and services using Ocelot
- 📊 ElasticStack: Logging and monitoring support with ELK stack
- 📈 Monitoring: System monitoring configuration with Prometheus and Grafana
- 🔧 Services:
- 🔐 AuthService: User authentication and authorization management
- 🛒 CartService: Shopping cart management
- 📨 NotificationService: Notification handling via Redis and RabbitMQ
- 📦 OrderService: Order management
- 💳 PaymentService: Payment processing via VNPay and other methods
- 📝 ProductService: Product and inventory management
- ⭐ ReviewService: Product review management
- 🔄 Shared: Common libraries including JWT configuration, middleware, and utilities
- 💻 Language: C#
- ⚡ Framework: .NET 9.0
- 🗄️ Databases:
- PostgreSQL (PaymentService)
- MongoDB (OrderService, NotificationService, ReviewService)
- SQL Server (AuthService, ProductService)
- 📬 Message Queue: RabbitMQ
- ⚡ Caching: Redis
- 📊 Logging & Monitoring: ELK Stack, Prometheus, Grafana
- 🌐 API Gateway: Ocelot
- Docker and Docker Compose
- .NET SDK 9.0
- PostgreSQL, MongoDB, Redis, RabbitMQ
- Clone repository:
git clone https://github.com/PhucHau0310/MicroservicesECommerce.git cd MicroservicesECommerce/be
- Run Docker Compose:
docker-compose up --build
- Author: Nguyen Phuc Hau
- Email: haunhpr024@gmail.com
- Github: PhucHau0310
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions, issues, and feature requests are welcome! Feel free to check issues page.