Skip to content

Repository files navigation

Tech Stack

  • Node.js – Server-side runtime
  • Express.js – Backend framework
  • MongoDB – NoSQL database
  • Mongoose – MongoDB ODM
  • JWT (jsonwebtoken) – Authentication & Authorization
  • Cloudinary – Image upload & media management
  • Multer – File handling middleware
  • MongoDB Aggregation – Advanced analytics & admin insights
  • dotenv – Environment configuration
  • bcrypt – Password hashing

Features

Authentication & Authorization

  • User registration and login
  • JWT-based authentication
  • Role-based access control (Admin/User)

Product Management

  • Create, update, delete products
  • Fetch single and multiple products
  • Category-based product structure
  • Pagination & filtering (page, limit, category, search)

Category Management

  • Create and manage product categories
  • Assign products to categories
  • Organize store structure efficiently

Order Management

  • Create orders
  • Track order status
  • Link orders to users and products
  • Pagination for order history (user/admin views)

File Upload System

  • Image upload using Cloudinary
  • Secure media storage and retrieval

Admin Dashboard (Advanced)

  • Sales and user analytics using MongoDB aggregation
  • Product performance insights
  • Order tracking and statistics

System Design

  • Modular architecture (Controllers, Services, Routes)
  • Scalable API versioning approach (v1 → v5)

Skills Demonstrated

  • RESTful API Design
  • Backend Architecture Design (MVC pattern)
  • Authentication & Authorization (JWT, RBAC)
  • Database Design & MongoDB Schema Modeling
  • Aggregation Pipeline for Analytics
  • Secure File Upload & Media Handling
  • API Versioning Strategy
  • Scalable Backend Development
  • Clean Code & Modular Design Principles

Base Endpoints

https://commerce-engine-backend-api.onrender.com/api/v1/product/all-products

About

# Commerce Engine Backend API A scalable Node.js/Express e-commerce API with secure authentication, role-based access, product management, image uploads, and advanced admin analytics via MongoDB aggregation. Built with phased architecture (v1→v5) for continuous improvement and system scalability.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages