Please enable JavaScript.
Coggle requires JavaScript to display documents.
sell tshirt backend - Coggle Diagram
sell tshirt backend
Routes
Authentication
Signup-post
Signin-post
signout-get
Payment System
User
read-get
update-put
parameterExtractor-params :star:
purchaseList-get
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
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)
Order
/order/create/:userId POST (create)
orderById PARAMS :star:
/order/list/:userId GET
/order/status/:userId GET
/order/:orderId/status/:userId PUT
Controllers
Payment
Order
orderById :!!:
create
updateOrderStaus
getOrderStatus
listOrder
Category
create
categoryById :star:
read
update
remove
getAll
User
getUserById :star:
read
update
userPurchaseList
pushOrderInPurchaseList
Auth
signUp
signIn
signOut
isAdmin:!!:
isAuthenticated:!!:
isSignedIn:!!:
Product
getProductId:!!:
create
maintainStock:!!:
photo:!!:
read
remove
update
listCategories
list :question:
Models
User
Product
Order
Category