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.
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
.
A collection of endpoints has been created for testing with Postman. You can find the collection at this link.
The project is hosted onThis link.
- 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