Skip to content

Schandroid243/Grocery_NodeJs_Api

Repository files navigation

Grocery_NodeJs_Api

Ecomly E-commerce Node.js/Express API with MVC, services, uploads, MongoDB, env config, middleware, and Swagger documentation


Problem Solved

Provides a clean, maintainable, scalable backend template for grocery/e-commerce APIs—perfect for interviews, portfolio showcases, or collaborative projects.


Features

  • MVC architecture
  • Service layer for clean business logic
  • File upload support (e.g. product images)
  • MongoDB with Mongoose models
  • Environment-based configuration via .env
  • Centralized middleware (error handling, validation)
  • Swagger API documentation: http://localhost:3000/api-docs
  • Modular file structure: controllers/, services/, models/, routes/, middleware/, uploads/, config/

Tech Stack

  • Node.js, Express.js
  • MongoDB, Mongoose
  • Multer for uploads
  • dotenv for environment configuration
  • Swagger for API docs
  • (Optional) Testing frameworks like Jest/Mocha

Getting Started

git clone https://github.com/Schandroid243/Grocery_NodeJs_Api.git
cd Grocery_NodeJs_Api
npm install   # or yarn install

About

Architected a complete e-commerce backend with features for product catalogs, order processing, and secure payment handling via Stripe integration and webhooks, with MVC, services, file uploads, MongoDB, environment-based config, middleware, and Swagger documentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors