Please enable JavaScript.
Coggle requires JavaScript to display documents.
Sell T-shirt Backend - Coggle Diagram
Sell T-shirt Backend
Models
Product
Category
User
Order
Routes
Authentication
SignIn - POST
Signout - GET
Signup - POST
Payment System
Category
/category/create/:userId POST(create)
categoryId PARAM (parameterExtractor) :star:
/category/:categoryId GET(read)
/category/:categoryId/:userId PUT(update)
/categories GET (getAll)
/category/:categoryId/:userId DELETE(remove)
User
read-GET
update-PUT
parameterExtracter-params :star:
purchaseList-GET
Order
/order/create/:userId POST(create)
orderById PARAMS :star:
/order/list/:userId GET
/order/status/:userId GET
/order/:orderId/status/:userId PUT
Product
/product/:productId GET
/product/:productId/:userId DELETE
/product/create/:userId POST
/product/photo/:productId GET
/product/:productId/:userId PUT
productId PARAM (parameterExtractor):star:
/products/categories GET
Controllers
category
read
update
categoryById :star:
remove
create
getAll
payment
user
update
userPurchaseList
read
pushOrderInPurchaseList :!!:
getUserById :star:
order
listOrder
updateOrderStatus
create
getOrderStatus
orderById :!!:
auth
signout
isAdmin :!!:
signin
isAuthenticated :!!:
signup
isSignedIn :!!:
product
read
remove
getProductById
create
update
maintainStock :!!:
listCategories
photo :!!:
list :question: