Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 3.29 KB

README.md

File metadata and controls

68 lines (44 loc) · 3.29 KB

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.