Please enable JavaScript.
Coggle requires JavaScript to display documents.
Sell Tshirt Backend - Coggle Diagram
Sell Tshirt Backend
ROUTES
Product
product param(parameter extractor)
product/photo/:product GET
product/:productId/:userId DELETE
product/create/:userId POST
product/:productId GET
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/list/:userId GET
/order/status/:userId GET
orderById PARAMS
order/:orderId/status/:userId PUT
order/create/:userId POST (create)
User
parameterExtracter-params
purchaseList-get
update-put
read-get
models
user
product
category
order
Controllers
Payment
order
create
listOrder
orderById
updateOrderStaus
getOrderStatus
Category
read
update
categoryById
remove
create
getAll
Auth
Sign out
isAdmin !!
signin
isAuthenticated!!
signup
isAuthenticated!!
Product
read
remove
getProductById!!
update
create
listCategories?
maintainStock!!
list?
photo!!
User
update
userPurchaseList
read
pushOrderInPurchaseList
getUserById