A progressive Node.js framework for building efficient and scalable server-side applications.
A robust and scalable backend API for a modern e-commerce platform, built with the NestJS framework.
This project provides a complete, modular, and testable foundation for developers to build and deploy online stores. It follows best practices for API design, including JWT authentication, clear data modeling with TypeORM, and a clean architecture to ensure maintainability and performance.
- Authentication: Secure user registration and login using JWT.
- Product Management: Full CRUD operations for products, categories, and inventory.
- Shopping Cart: A persistent cart system for both authenticated and guest users.
- Order Processing: A complete checkout and order management workflow.
- Dockerized: Comes with a
docker-compose.ymlfor easy setup and deployment.
- Framework: NestJS
- Language: TypeScript
- Database: MySQL with TypeORM
- Authentication: Passport.js with JWT Strategy
- Testing: Jest
- API Documentation: Postman
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covWhen you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the deployment documentation for more information.
If you are looking for a cloud-based platform to deploy your NestJS application, check out Mau, our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
$ npm install -g @nestjs/mau
$ mau deployWith Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Youssef Elzedy
Nest is MIT licensed.