Please enable JavaScript.
Coggle requires JavaScript to display documents.
store backend - Coggle Diagram
store backend
Controllers
order
orderById :!!:
create
listOrder
updateOrderStaus
getOrderStatus
payment
category
create
categoryById :star:
read
update
remove
getAll
user
getUserById :star:
read
update
userPurchaseList
pushOrderInPurchaseList
auth
checker for token :!!:
isAuthenticated :!!:
isAdmin :!!:
signup
signin
signin
product
photo :!!:
maintainStock :!!:
create
getProductById :!!:
read
remove
update
listCategories
list :question:
Routes
Authentication
signout-get
signin-post
signup-post
User
read-get
update-put
parameterExtracter-params :star:
purchaseList-get
Payment System
:
Category
/category/create/:userId POST (create)
categoryId PARAM (parameterExtractor) :star:
/category/:categoryId GET (read)
/category/:categoryId/:userId PUT (update)
/category/:categoryId/:userId DELETE (remove)
/categories GET (getAll)
Order
/order/create/:userId POST (create)
orderById PARAMS :star:
/order/list/:userId GET
/order/status/:userId GET
/order/:orderId/status/:userId PUT
Product
productId PARAM (parameterExtractor)
/product/photo/:productId GET
/product/create/:userId POST
/product/:productId GET
/product/:productId/:userId DELETE
/product/:productId/:userId PUT
/products/categories GET
Models
User
Product
Category
Order