A modern e-commerce platform built with NestJS, featuring a robust backend API for managing products, orders, and user interactions.
- 👤 User Authentication & Authorization
- 🛍️ Product Management
- 🛒 Shopping Cart Functionality
- 📦 Order Processing
- 🏷️ Category Management
- 📍 Address Management
- 🎫 Ticket System
- ✨ RESTful API
- NestJS
- TypeScript
- TypeORM
- MySQL
- JWT Authentication
- Class Validator
- Passport
- Node.js (v14 or higher)
- MySQL
- npm or yarn
- Clone the repository
git clone https://github.com/yourusername/nestcommerce.git
cd nestcommerce- Install dependencies
npm install
# or
yarn install- Configure environment variables
cp .env.example .env
# Edit .env with your database credentials and other configurations- Run migrations
npm run typeorm:migration:run- Start the development server
npm run start:devThe API will be available at http://localhost:3000
/auth- Authentication routes/users- User management/products- Product operations/categories- Category management/orders- Order processing/tickets- Support ticket system
npm run start:dev- Start development servernpm run build- Build the applicationnpm run start:prod- Start production servernpm run lint- Run ESLintnpm run format- Format code with Prettiernpm test- Run testsnpm run test:e2e- Run end-to-end tests
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Your Name - @yourusername Project Link: https://github.com/yourusername/nestcommerce
- NestJS Documentation
- TypeORM
- Node.js community