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