EShop Backend NodeJS is a backend service for an e-commerce platform specializing in electronic products. This project provides a robust and scalable API for managing users, products, carts, vouchers, and orders. It is designed to handle high concurrent purchases efficiently and includes various essential functionalities to enhance the e-commerce experience.
- CRUD Operations: Manage users, products, carts, vouchers, and orders.
- High Concurrent Purchase Handling: Implements pessimistic locking using Redis to prevent conflicts in simultaneous purchases.
- Product Search: Utilizes MongoDB's text indexing for efficient product search.
- Image Uploading: Integrates with Cloudinary for image storage and management.
- Logging System: Implements Winston for structured logging and monitoring.
- Backend Framework: Express.js
- Database: MongoDB
- Caching & Locking: Redis
- File Storage: Cloudinary
- Logging: Winston
Explore the full API documentation in Postman: EShop API Documentation
git clone https://github.com/DuyDangCode/EShop_BE_NodeJS.git
npm install
npm run start
This project is licensed under the MIT License.
For any inquiries, please contact [email protected].