- Deployed Webite = https://bellsandribbons.netlify.app/
- Deployed Backend = https://busy-gold-scarab-vest.cyclic.app/
- An online e-commerce website, where user can buy cheap price good product.
- We have 200+ products.
- OTP generate for sign-up.
- JWT Authentication
- Add to cart.
- Authorization.
- Seller and admin Authorization & CRUD Operations.
- Filter products by rating and material
- Sort products by price
- Pagination
- JWT (JsonWebToken)
- Bcrypt
- NodeMailer
- Twilio
POST /users/signup/phone
POST /users/signup/email
POST /users/login/email
POST /users/login/mobile
POST /users/resendOTPEmail
POST /users/resendOTPMobile
POST /users/verifyotp
GET /users/getnewToken
GET /products/all
GET /products/limited
GET /products/:id
GET /products/?ptype=${value}&rating=${value}&limit=${value}&sort={1}&page={value}
POST /products/upload
PATCH /products/update/:id
DELETE /products/delete/:id
GET /orders/orderItems/agregate
GET /orders/orderItems/:userID
Post /orders/orderItems
{
"firstName":"String",
"lastName":"String",
"password":"String",
"mobile":Number
"email":"abc@gmail.com",
"role":"seller" || "admin" || default="customer"
}
{
"name":"String",
"rating":Number,
"price":Number,
"material":"String",
"sellerID":"String",
"img":"String",
"ptype":"String"
}
{
user: {
type: mongoose.Schema.Types.ObjectId,
ref: "user",
},
orderItems: [
{
product:{
type: mongoose.Schema.Types.ObjectId,
ref: "products",
},
quantity: {type :Number, required:true}
}
],
totalBill:Number
}
{ userID:String, otp:String, createdAt:Date, expiresAt:Date }
- Type : Individual Project
- Duration of Project - 5 Days