Skip to content

This is a API for an e-commerce application using Node.js and MongoDB. It's provides endpoints to perform various operations related to managing products, categories, carts, orders, payment Processing, user authentication and Dashboard.

Notifications You must be signed in to change notification settings

Chitranjan046/Ecommerce-Server-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Web App with Node.js and MongoDB

This is a Server for an e-commerce application built using Node.js and MongoDB. It provides endpoints to perform various operations related to managing products, categories, carts, orders, and user authentication.

Setup

  1. Clone the repository:

  2. Install dependencies:

  3. Set up your MongoDB database and configure the connection string in config/db.ts.

  4. Start the server:

API Endpoints

Authentication

Locally

  • http://localhost:8000

  • POST /api/v1/user/new: Register a new user.

  • GET [/api/v1/user/all]: Get All User.

  • GET [/api/v1/user/:_id]: User Detail.

  • DELETE [/api/v1/user/:_id]: Delete User Detail .

Product

Order

Payment

Dashboard

Testing

It's recommended to thoroughly test each API endpoint using tools like Postman.

About

This is a API for an e-commerce application using Node.js and MongoDB. It's provides endpoints to perform various operations related to managing products, categories, carts, orders, payment Processing, user authentication and Dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published