Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.38 KB

File metadata and controls

53 lines (38 loc) · 1.38 KB

node-ecommerce-api

This project is a Node.js based eCommerce API that can be used as a back-end solution for an online store. It uses MongoDB as a database and provides a number of endpoints for handling products, orders, users, and authentication.

Getting Started

To use this API, you will need to have Node.js and MongoDB installed on your system. Clone the repository and navigate to the root directory. Run npm install to install the necessary dependencies.

To start the development server, run:

npm run start:dev

The server will be available at http://localhost:3000.

Testing with Postman

A collection of endpoints has been created for testing with Postman. You can find the collection at this link.

Hosting

The project is hosted onThis link.

Dependencies

  • bcryptjs
  • body-parser
  • colors
  • compression
  • cors
  • dotenv
  • express
  • express-async-handler
  • express-mongo-sanitize
  • express-rate-limit
  • express-validator
  • hpp
  • jsonwebtoken
  • mongoose
  • multer
  • nodemailer
  • nodemon
  • sharp
  • slugify
  • stripe
  • uuid
  • xss-clean

Authors

Ibrahim Abdalrhman