Please enable JavaScript.
Coggle requires JavaScript to display documents.
Takeaway e-commerce backend - Coggle Diagram
Takeaway e-commerce backend
Admin
Admin with products
Create new products
Upload
Delete
view all products
Admin with order & delivery
view customer details
Manage deliveries
Accept / reject delivery
Change products status
successfully ordered
Shipment status
deliery successfull
Manage payments
Admin with product category
Create Category
Update Category
Delete Category
Get Category By Id
Get All Category
Admin with delivery boy
Add new delivery boy
Delete the delivery boy
User
User with their account
Change password
Login
Create new account
Authrization to user
Comment to the product
Change their account passwords
manage profiles
return policy
Reset password
change account setting
Products
Can view products
Order products
comment / reviews to the product
Add to cart
Checkouts
Admin & User account system
email
password
:star:Library user for auth is passport.js
Models
User Model
Email
password
isAdmin
isBuyer
isDeliveryBoy
Product Model
product title
image
product description
product highlights
comments [ must be an array ]
Spacification
price
ratings
Order Model
cart id
user id
total amount
customer name
out for delivery : Boolean
isAccepted : Boolean
order received : Boolean
return product : Boolean