Skip to content

Latest commit

 

History

History
69 lines (34 loc) · 2.09 KB

README.md

File metadata and controls

69 lines (34 loc) · 2.09 KB

Canon API

Fake store REST API that you can use whenever you need Pseudo-real data for your ecommerce website without running any server-side code. It's great for website prototype, testing, etc.

Theme : canon camera and other related equipment.

Resources

Load file : canon.sql

How To

*for requests that require user to be logged in, add to header auth-token: 'user token'

Products

Get all products (store/shop)

Screenshot from 2021-07-30 16-51-15

Cart

logged in user get products in cart

Screenshot from 2021-07-30 16-34-47

logged in user adds products in cart

Screenshot from 2021-07-30 16-38-47

logged in user empty cart

Screenshot from 2021-07-30 16-30-03

logged in user delete item from cart

Screenshot from 2021-07-30 16-36-40

Checkout

logged in user get all orders

Screenshot from 2021-07-30 16-41-14

logged in user checkout order

Screenshot from 2021-07-30 16-39-54

Users

login user, get auth token

Screenshot from 2021-07-30 16-45-32

register user in DB

Screenshot from 2021-07-30 16-43-27

Test User Credentials

email: [email protected]

password: 123pass

TODO

Add admin role