8000 GitHub - ielb/ecom-backend
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ielb/ecom-backend

Repository files navigation

Fashion E-Commerce API

A modern e-commerce API built with NestJS, featuring robust product management, order processing, and user authentication.

Features

  • 🛍️ Product & Category Management
  • 🔐 JWT Authentication & Role-based Access
  • 🛒 Shopping Cart & Order Processing
  • 📦 Inventory Management
  • 🖼️ Image Optimization & CDN Integration
  • 🚀 Redis Caching
  • 📊 Database Optimization & Indexing

Tech Stack

  • NestJS
  • PostgreSQL
  • Redis
  • TypeORM
  • AWS S3 (CDN)
  • Docker

Prerequisites

  • Node.js (v16+)
  • PostgreSQL
  • Redis
  • Docker (optional)

Quick Start

  1. Clone the repository
git clone https://github.com/yourusername/fashion-ecommerce
cd fashion-ecommerce
  1. Install dependencies
npm install
  1. Environment setup
cp .env.example .env
# Edit .env with your configuration
  1. Database setup
# Start PostgreSQL
createdb fashion_ecommerce
npm run migration:run
  1. Start Redis
redis-server
  1. Run the application
# Development
npm run start:dev

# Production
npm run build
npm run start:prod

API Documentation

  • Swagger UI: http://localhost:3000/api
  • Detailed documentation in /docs directory

Performance Features

  • Redis caching for improved response times
  • Database indexing for optimized queries
  • Image optimization and CDN delivery
  • Rate limiting and security headers

Contributing

See CONTRIBUTING.md for guidelines.

Deployment

See DEPLOYMENT.md for detailed deployment instructions.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0