This is a demonstration of a web application utilizing the FastAPI framework. It showcases the implementation of token-based authentication, the usage of cookies, and the functionality of user logout.
usage:
install python3
run
python3 app.py
open url in browser:
use below token to authorize:
testkey123
POST /items/: Create new items with JSON payloadGET/PUT/DELETE /items/{item_id}: Manage individual itemsPOST /users/: Register new users
Contributions are welcome