Please enable JavaScript.
Coggle requires JavaScript to display documents.
Backend - Coggle Diagram
Backend
Models
User
Product
Category
Order
Routes
Product
productid -paramextractor
/product/photo/:productid GET
/product/create/:userId POST
/product/:productId GET
/product/:productId/:userId DELETE
/product/:productId/:userId PUT
/products/categories GET
Authentication
signup-post
signin-post
signout-get
Payment System
Category
/category/create/:userId POST (create)
categoryId PARAM (parameterExtractor)
/category/:categoryId GET (read)
/category/:categoryId/:userId PUT (update)
/category/:categoryId/:userId DELETE (remove)
/categories GET (getAll)
Order
/order/create/:userId POST (create)
categoryId PARAM (parameterExtractor)
/category/:categoryId GET (read)
/category/:categoryId/:userId PUT (update)
/category/:categoryId/:userId DELETE (remove)
/categories GET (getAll)
User
read-get
update-put
parameterExtracter-para
purchaseList-get
Controllers
Order
orderbyd
create
listorder
updateOrderStatus
getOrderStatus
Payment
Category
create
categoryById
read
update
remove
getAll
User
read
update
getUserById
userPurchaseList
pushOrderPurchaseList
Auth
signout
isAdmin!!
signin
isAuthenticaed!!
signup
checker for token
Product
read
remove
getProductById
update
create
listCategories
maintainStock
list!
photo!!