Please enable JavaScript.
Coggle requires JavaScript to display documents.
SELL PRODUCT(t-shirt) Back-end :, :star: - Coggle Diagram
SELL PRODUCT(t-shirt) Back-end :
Controllers
USER
getuserById
read
update
userPurchaselist
pushorderInPurchaseList
PRODUCT
PHOTO
MainStock
Create
GetProductById
Read
Remove
Update
ListCategories
Lists
CATEGORY
Create
CategoryById
read
update
remove
getall
PAYMENT
ORDER
OrderById
create
Listorder
updateOrderstatus
getOrderStatus
AUTH
SIGN UP
SIGN IN
SIGN OUT
isAdmin
isAuthenticated
checkerfortoken
Routes
Product
productIdPARAM (parameter extractor)
/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
USER
Read-Get
update-Put
parameterExtractor PARAM
purchaseList-GET
Category
/category/create/:userId POST (create)
categoryId PARAM (parameterExtractor)
/category/:categoryId GET (read)
/category/:categoryId/:userId PUT (update)
/category/:categoryId/:userId DELETE (remove)
/categories GET (getAll)
Payment
Order
/order/create/:userId POST (create)
orderById PARAMS
/order/list/:userId GET
/order/status/:userId GET
/order/:orderId/status/:userId PUT
Models
USER
PRODUCT
CATEGORY
ORDER
:star: