- Modern MVC Architecture: Clean separation of concerns for maintainability and scalability.
- Authentication & Authorization: Secure login and and a Role-Based access control using JWT and Passport.js.
- API Documentation: Interactive API docs powered by Swagger.
- API Caching: Enhanced performance with Redis-based caching.
- Rate Limiting: Protects APIs from abuse and ensures fair usage.
- Input Validation: Ensures data integrity and security.
- Integration Tests: Automated tests for reliability and confidence in changes.
- Linter: Enforces code quality and consistency.
- Containerization: Easy deployment and environment parity with Docker.
- CI/CD: Automated testing and deployment with GitHub Actions.
-
Clone the repository:
git clone https://github.com/yourusername/e-commerce-platform-backend.git
-
Install dependencies:
npm install
-
run docker servers:
docker-compose up
-
run server
npm start
-
to run tests (no is docker required)
npm test
-. Access API docs at http://localhost:8080/api-docs/
This is a resume-friendly project feel free to fork it, practice with it, or send a pull request :)