Please enable JavaScript.
Coggle requires JavaScript to display documents.
Raj Roy Backend - Coggle Diagram
Raj Roy Backend
Controller
PAYMENT
Auth
signup
signin
signout
isAdmin :!!:
isAuthenticated :!!:
check for token:!!:
user
update user
get user
getUserById :star:
Order
listOrder
create order
updateOrderStatus
getOrderStaus
orderById :!!:
Category
create
categoryById :star:
read
update
remove
getAll
Products
update (put)
productById :!!:
remove (delete)
read (get)
create
Routes
Authentication
signup-post
signin-post
signout-get
Products
productId PARAM (parameterExtractor) :star:
/product/create POST
/product/:productId GET
/product/:productId DELETE
/product/:productId PUT
/products/categories GET
Customer
read-get
update-put
parameterExtracter-params :star:
Category
/category/create/ POST (create)
categoryId PARAM (parameterExtractor) :star:
/category/:categoryId GET (read)
/category/:categoryId PUT (update)
/category/:categoryId DELETE (remove)
/categories GET (getAll)
Orders
/order/create POST (create)
orderById PARAMS :star:
/order/list GET
/order/status GET
/order/:orderId/status/:userId PUT
Model
Category
Orders
Products
Address
Customer