Welcome to the backend repository for the E-Commerce platform. This is a microservices-based architecture built with Node.js.
- Node.js & Express.js: For building robust APIs.
- MongoDB & Mongoose: NoSQL database for flexible data schemas.
- Redis: Caching and fast in-memory data storage.
- JWT: JSON Web Tokens for secure authentication.
- Docker: Containerization for consistent environments.
- GitHub Actions: CI/CD pipelines.
- Swagger: API documentation.
The backend is composed of several modules and microservices, including:
- Authentication
- Users
- Products
- Categories
- Inventory
- Cart
- Wishlist
- Orders
- Payments
- Coupons
- Deals
- Tracking
- Blogs
- CMS
- Notifications
- Analytics
- Admin Dashboard
The application follows a layered architecture pattern:
Controller -> Service -> Repository -> Database
- Validation: Strict input validation before processing.
- Error Handling: Centralized error handling across all services.
- Logging: Comprehensive logging for monitoring and debugging.
- Testing: Automated testing for reliability.
- Docker & CI/CD: Seamless deployment and integration.
- Monitoring: Proactive system monitoring.
All detailed documentation (including design docs and .docx files) can be found in the doc/ directory.
Please refer to the doc/ directory for in-depth information.