Please enable JavaScript.
Coggle requires JavaScript to display documents.
Tshirts - Coggle Diagram
Tshirts
Controllers
Orders
orderById :!!:
create
listOrder
updateOrderStatus
getOrderStatus
payment
Categories
create
createById :star:
read
update
remove
getAll
user
getUserByID :star:
read
update
userPurchaseList
pushOrderInPurchaseList
auth
Signup
signin
signout
isAdmin :!!:
isAuthenticated :!!:
isSignedIn :!!:
products
photos :!!:
maintainstock :!!:
create
getProductById :!!:
read
remove
update
listCategories:!!:
list :question:
Routes
Product
productId PARAM (parameterExtrator) :star:
/product/photo/:productId GET
/product/create/:userId POST
/product/:productId GET
/product/productId/:userId DELETE
/product/productId/:userId PUT
/products/categories GET
Authentication
signup-post
signin-post
signout-get
Payment System
Category
/category/create/:userId POST (create)
CategoryId PARAM (paramater extrator) :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
user
read-get
update-put
parameterExtrator-params :star:
purchaseList-get
Models
user
product
category
orders