Skip to content

Razmahit/orders-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Simple Orders API

RESTful API for Orders

Details

The app is based on FastAPI + SQL Alchemy + SQLITE3 + Alembic + JWT (JSON Web Token) + Pydentic + Starlette. It supports the following operations:

Authentication (auth):

  • POST: auth/ - create users
  • POST: token/ - create token for authorization

Orders

  • GET: orders/ - get all orders
  • GET: orders/{order_id} - get order by order_id
  • POST: orders/order - create order
  • PUT: orders/{order_id} - update order by order_id
  • DELETE: orders/{order_id} - delete order by order_id

Products

  • GET: products/ - get all products
  • GET: products/{product_id} - get product by product_id
  • POST: products/product - create product
  • PUT: products/{product_id} - update product by product_id
  • DELETE: products/{product_id} - delete product by product_id

ScreenShots

main auth token get_all_orders get order by id post orders put order by id delete order get all products get product by id post products put products by id delete product

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.4%
  • Mako 3.6%