E-Commerce Site is a comprehensive online shopping platform developed using NestJS and MongoDB. It features a robust backend architecture for managing products, orders, and user accounts, providing a scalable and secure solution. With capabilities for product listings, user authentication, and order processing, this platform is designed to deliver a seamless and efficient shopping experience.
-
Clone the Repository
git clone https://github.com/solo21-12/e-commerce-site-nest-js.git cd e-commerce-site-nest-js
-
Install Dependencies
npm install
-
Configure Environment
Create a
.env
file with:MONGODB_PASSWORD= MONGODB_DATABASE_NAME JWT_SECRET MONGODB_URL SESSION_KEY CLIENT_URL CLOUDINARY_API_KEY CLOUDINARY_API_SECRET CLOUDINARY_NAME
-
Run the Application
For development:
npm run start:dev
For production:
npm run build npm run start:prod
-
Run Tests
npm run test
For detailed API documentation, visit Postman Documentation.
- Fork the repo.
- Create a branch for your changes.
- Submit a pull request.