A modern e-commerce API built with NestJS, featuring robust product management, order processing, and user authentication.
- 🛍️ Product & Category Management
- 🔐 JWT Authentication & Role-based Access
- 🛒 Shopping Cart & Order Processing
- 📦 Inventory Management
- 🖼️ Image Optimization & CDN Integration
- 🚀 Redis Caching
- 📊 Database Optimization & Indexing
- NestJS
- PostgreSQL
- Redis
- TypeORM
- AWS S3 (CDN)
- Docker
- Node.js (v16+)
- PostgreSQL
- Redis
- Docker (optional)
- Clone the repository
git clone https://github.com/yourusername/fashion-ecommerce
cd fashion-ecommerce
- Install dependencies
npm install
- Environment setup
cp .env.example .env
# Edit .env with your configuration
- Database setup
# Start PostgreSQL
createdb fashion_ecommerce
npm run migration:run
- Start Redis
redis-server
- Run the application
# Development
npm run start:dev
# Production
npm run build
npm run start:prod
- Swagger UI:
http://localhost:3000/api
- Detailed documentation in
/docs
directory
- Redis caching for improved response times
- Database indexing for optimized queries
- Image optimization and CDN delivery
- Rate limiting and security headers
See CONTRIBUTING.md for guidelines.
See DEPLOYMENT.md for detailed deployment instructions.
MIT