This project provides a complete backend for an Ecommerce platform. It’s built using Node.js, Express.js, and MongoDB, and it includes a wide range of features necessary for running an Ecommerce website or app. It uses Stripe for payments and cloduinary for uploading images.
- User Registration and Authentication
- Product Listing
- Order Management
- Category and Brand Management
- Product Reviews and Ratings
- Promotional Coupons and Discounts
- API Documentation
Detailed API documentation is available here. The documentation provides information about all the endpoints, including the HTTP method, endpoint URL, request parameters, request body, response body, and example requests and responses.
- Clone the repository:
git clone https://github.com/Prateek-Wayne/ecommerce.git
- Install dependencies:
npm install
- Set environment variables: Create a
.env
file in the root directory and set your environment variables (refer to.env.example
for the variables you need to set). - Run the server:
npm start
The project is deployed here. You can use the deployed APIs as per the documentation.
All Products URL : https://e-commerce-api-c5sx.onrender.com/api/v1/product.
Contributions are welcome! Please read the contributing guide for more information.
This project is licensed under the terms of the MIT license.