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