The backend for ecomm app.
$ git clone https://github.com/rdshinde/swadeshi-backend.git
$ npm install
$ npm start
-
Create Users.
-
Create Categories.
-
Create Products.
-
User Cart Management
- Add to Cart.
- Update Cart.
- Move to wishlist from Cart.
-
User Wishlist Management
- Add to Wishlist
- Move to cart from Wishlist
- Delete from Wishlist
-
Products Management
- Add new products
- Fetch all products
- Fetch Single products
-
Manage User Address.
- Add new address
- Edit address
- Delete address
-
Authentication
- User Signup
- User Login
- Node JS
- Express JS
- Mongo DB Atlas
- Mongoose
Method: GET
Response
{
"title": "Swadeshi-Ecomm-App",
"description": "This is backend for E-commenrce app.",
"author": "Rishikesh Shinde",
"features": [
"Auth-Management",
"Products-Management",
"Cart-Management",
"Wishlist-Management"
],
}
Description: This endpoint returns the app description.
Method: GET
Response
{
"success": true,
"products": []
}
Description: This endpoint returns the products listed on DB.
Method: POST
body:{...Product}
Response
{
"success": true,
"products": []
}
Description: This endpoint returns the products listed on DB.
Method: GET
Response
{
"success": true,
"products": [
{}
]
}
Description: This endpoint returns the single product.
Here it is Swadeshi Ecomm Backend