Please enable JavaScript.
Coggle requires JavaScript to display documents.
art vee backend - Coggle Diagram
art vee backend
Routes
Authentication
sign-up: POST
sign-in POST
sign-out 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/:categoryId/:userId DELETE (remove)
/category/:categoryId/:userId PUT (update)
/category/:categoryId GET (read)
categoryId PARAM (parameterExtractor):Star:
/category/create/:userId POST (create)
/categories GET (getAll)
User
read GET
update PATCH
parameterExtracter-params:STAR:
purchaseList GET
Order
/order/create/:userId POST (create)
orderById PARAMS :star:
/order/list/:userId GET
/order/status/:userId/:orderId GET
/order/:orderId/status/:userId PATCH
Payment System
Controllers
category
create
read
update
delete
categoryById :star:
product
photo:!::!:
maintainStock:!::!:
create
getProductById:!::!:
read
update
remove
listCategories
list:!::!:
user
read
update
create
getUserById:star:
userPurchaseList
pushOrderInPurchaseList
auth
sign up
sign out
sign in
isAdmin:!::!:
isAuthenticated:!::!:
checker For Token:!::!:
order
create
orderById:!::!:
listOrder
updateOrderStatu
getOrderStatus
Models
User
Product
Category
Order