This is a scalable server-side application for an e-commerce platform, developed using Node.js, Express.js, and MongoDB. The application provides robust APIs for user management, product management, and order processing. It also integrates with third-party services for payment processing and logistics.
This is a backend application for an e-commerce platform designed to handle user authentication, product catalog, order processing and Payment with stripe. The application uses Json Web Token(JWT) for authentication, MongoDB for database, and integrates with mock payment gateways.
Clone the repo
git clone https://github.com/sumansauravmay/MyIndiaa_E-Commerce.git
https://myindiaa-e-commerce.onrender.com/
Register: POST /register
{
"name": "Suman",
"email": "[email protected]",
"password": "suman@123"
}
Login: POST /login
{
"email": "[email protected]",
"password": "suman@123"
}
GET /
POST /add
{
"image": "https://avatars.githubusercontent.com/u/101393663?s=48&v=4",
"title": "Jeans",
"description": "This is jeans",
"Price": 4000
}
PATCH /update/:id
Delete /delete/:id
GET /orders
GET /orders/:orderId
POST /add
POST /orders/
{
"user": "6672a7b525a591f7d7911f2f",
"products": [
"66733090659d8eccc4386583"
],
"totalAmount": 6000
}
GET /payment
POST /payment/:id
POST /payment
{
"order":"6673f2d2cdf49cdb26cc7697",
"amount":4000,
"paymentDate":"Date.now()"
}
1. API Development
2. Database Integration
3. Mock Third-Party Integrations
4. Security Measure
.5 Scalability and Performance Optimization