Please enable JavaScript.
Coggle requires JavaScript to display documents.
API-D - Coggle Diagram
API-D
User :fire:
Model
name
email
phone
gender
session_token :star:
created_at
updated_at
Serializer
create
update
views
generate session token
sign-in
sign-out
Note:login and logout come from django auth :!:
url
logout with ID
default routing
login
Order
views
validate user_session
add
urls
add/id/token
default
Model
transaction_id
total_amount
product_name
total products
user :check:
created_at
updated_at
categories
Model
description
created_at
name
updated_at
views
Get all categories serialized
Product
Views
get all product serialized
Model
is_active
price
category :check:
description
stock
image :star:
name
created_at
updated_at
payment brain tree
Views :
generate_token
process_payment
validate_user_session
urls
get_token/id/token
process/id/token