Please enable JavaScript.
Coggle requires JavaScript to display documents.
Controlls, All, Routes - Coggle Diagram
Controlls
Product
Read
remove
update
listCategories
list
Get Product by id
Create
maintainStock
Photo
:
Signin
Signout
Signup
Is Admin
Is Authenticated
Chacker for token
Users
update
userPurchaseList
read
pushOrderInPurchaseList
getUserById
category
create
categoryById
read
update
remove
getAll
payment
Order
orderById
create
listOrder
updateOrderStaus
getOrderStatus
Sell Tshirt
BackEnd
Models
User
Controllers
Category
Order
All
Authentication
signin-post
signup-post
signout-get
1
Category
/category/:categoryId GET (read)
categoryId PARAM (parameterExtractor)
/category/:categoryId/:userId PUT (update)
/category/:categoryId/:userId DELETE (remove)
/categories GET (getAll)
/category/create/:userId POST (create)
Order
/order/create/:userId POST (create)
orderById PARAMS
/order/list/:userId GET
/order/status/:userId GET
/order/:orderId/status/:userId PUT
User
read-get
update-put
parameterExtracter-params
getUserById
read
update
userPurchaseList
pushOrderInPurchaseList
purchaseList-get
Payment System
Routes
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