Please enable JavaScript.
Coggle requires JavaScript to display documents.
Sell T-shirt Backend (Routes (Category (/category/create/:userId POST…
Sell T-shirt Backend
Routes
Authentication
signup - post
sign-in post
sign-out get
User
update put
read -get
Parameter Extracter params :star:
PurchaseList - get
Category
/category/create/:userId POST (create)
category ID PARAM(Parameter Extracter) :star:
/category/categoryId GET
/category/categoryID/:userId PUT (update)
/category/CategoryID/:userId DELETE (remove)
categories GET(ALL)
Order
/order/create/:userId POST (create)
OrderID PARAM :star:
/order/list/:userid GET
/order/status/:userid GET
/order/:orderId/status/:userid PUT
Payment Systems
Controller
auth
SignUp
SignIn
SignOut
isSignedIn checker for token :!!:
isAdmin :!!:
isAuthenticated :!!:
Product
photo :!!:
maintainStock :!!:
create
getProductById :!!:
read
remove
update
listCategories
list :question:
User
gettUserById :star:
read
update
userPurchaseList
PushOrderInPurchaseList
Category
create
categoryById :star:
read
update
remove
getAll
Payment
Models
User
Product
Category
Order