Please enable JavaScript.
Coggle requires JavaScript to display documents.
Backend - Coggle Diagram
Backend
Routes
Authentication
Signup-post
Signin-post
Signout-get
User
read-get
update-put
parameterExtracter - params :star:
purchaseList - get
Product
/product/:productId GET
/product/:productId/:userId DELETE
/product/create/:userId POST
/product/:productId/:userId PUT
/product/photo/:productId GET
/product/categories GET
productId PARAM (parameterExtractor) :star:
Categories
/category/:categoryId GET (read)
/category/:categoryId/:userId PUT (update)
categoryId PARAMS (parameterExtracter) :star:
/category/:categoryId/:userId DELETE (remove)
/category/create/:userId POST
categories GET (getAll)
Order
/order/list/:userId GET
/order/status/:userId GET
orderById PARAMS :star:
/order/:orderId/status/:userId PUT
/order/create/:userId POST (create)
PAYMENT
Models
Product
Category
Order
User
Controllers
User
update
userPurchaseList
read
pushOrderPurchaseList
getUserById :star:
Product
read
remove
getProductById :!!:
update
creat
listCategories
maintainStock :!!:
list :question:
Photo :!!:
Category
read
update
categoryById
remove
create
getAll
Order
orderById :!!:
create
listOrder
updateOrderStatus
getOrderStatus
Authentication
Signup
Signin
Signout
isAdmin :!!:
isAuthenticated :!!:
isSignedIn:!!: