Please enable JavaScript.
Coggle requires JavaScript to display documents.
Brick2Click, reviews: [ObjectId's] - Coggle Diagram
Brick2Click
ROUTES
AUTHENTICATION
/signin: post
/signup: post
/signout: put
PRODUCTS
/products/id: get
/products/id: put
/products/id: delete
/products: post
/products: get
ORDERS
/order/cart: post
/order/item: post
/order/orderId/status: put
CATEGORY
/categorys/name: get
/categorys: get
/categorys: post
/categorys/name: put
/categorys/name: delete
CART
/cart/productId/count: post
/cart/cartId/count: put
/cart/cartItemId: delete
wishlist
/wishlist: get
/wishlist: put
/wishlist/id: delete
PAMENT
ADDRESS
/address: post
/address/addressId: put
/address/addressId: delete
BANKDETAILS
/bankdetails: post
/bankdetails/bankdetailId: put
bankdetails/bankdetailId: delete
STORE
/store: post
/store/storeId: delete
/store/storeId/storeManagerId: put
/store/storeId/product/productId: put
/store/storeId/storeManagerId: delete
/store/storeId/product/productId: delete
STOREMANAGER
/storemanager: post
/storemanager/managerId: delete
REVIEW
/review/orderId: post
/review/productId/reviewId: delete
NOTIFICATION
/notification: post
/notification/targeted: post
DATABASE
USER
id: Int
username: String
email: String
number: Int
avatar: String
address: address(ObjectId)
ADDRESS
id: Int
number: Int
email: String
pincode: Int
fullname: String
state: String
town/city: String
landmark: String
streetaddress: String
location: String
bio: String
orders: [ ObjectId's ]
ORDER
id: Int
invoice: String
product: product(ObjectId)
PRODUCT
id: Int
name: String
discription: String
mrp: int
price: int
image: String
stock: Int
category: category(ObjectId)
timestamp: dateandtime
featured: Boolian
subcategory: subcategory(ObjectId)
status: String
timestamp: dateandtime
shipedto: address(ObjectId)
total: Int
shipedfrom: address(ObjectId)
price
name: String
image: String
count: Int
estimatedDate:Sting
wishlist: [ ObjectId's ]
role: Int
cart: [ ObjectId's ]
CART
id: Int
quantity: Int
product: product(ObjectId)
timestamp: dateandtime
stores: [ObjectId's]
STORE
name: String
storemanager: user(Objectid)
timestamp: dateandtime
catagories: [ObjectId's]
CATEGORY
name: String
products: [ObjectId]
timestamp: dateandtime
image: String
id: Int
level: Int
parentCategory: category(ObjectId)
id: Int
products: [ObjectId's]
Orders: [ObjectId's]
owner: user(ObjectId
address: address(ObjectId)
timestamp: dateandtime
password: String
bankdetails: bankdetails(ObjectId)
BANKDETAILS
number: Int
bankname: String
ifse: String
accountname: String
profession: String
age: Int
notification: [ObjectId's]
NOTIFICATION
id: Int
title: String
timestamp: dateandtime
description: String
SUPPORT
id: Int
sendby: user(ObjectId)
sendto: user(ObjectId)
message: String
timestamp: dateandtime
title: String
FRONTEND
ROUTES
/ : HOME
/dashboard : DASHBOARD
reviews: [ObjectId's]
REVIEW
id: Int
username: String
review:String