Ecommerce website for health and fitness products , it is a clone of HealthKart.com , It serves as a virtual storefront where customers can browse, select, and purchase items conveniently from their computers or mobile devices.
Client: HTML,CSS, Javascript
Server: Node, Express , MongoDB
- Authentication
- Payment-gateway-razorpay
- API Validation
- Buy product/Cart
- Searching/sorting/filtering
- Home page
- Login/Signup
- Product page
- OAuth
- Authentication using JWT
- Hashing the password using Bcrypt
- Mongoose - connecting the database
- MongoDB
POST /api/register
POST /api/login
POST /api/cart/:id/
DELETE /api/cart/:id/
PATCH /api/cart/:id/
GET /api/cart/:id/
GET /api/product/:id/
DELETE /api/product/:id/
PATCH /api/product/:id/
GET /api/product/paginate?page=3&limit=10
GET /api/product/?serach="protein"
USERS DATA...
{"name":"harsh thakur",
"email":"harsh@gmail.com",
"password":"123456" }
PRODUCT DATA...
{
"image": "https://img5.hkrtcdn.com/16939/prd_1693894-MuscleBlaze-Chocolate-Peanut-Butter-0.340-kg-Crunchy_o.jpg",
"description": "MuscleBlaze Chocolate Peanut Butter, 1 kg, Creamy",
"category": "Peanut Butter",
"rating": 4.6,
"price": 180}