This is a simple project to demonstrate how to use FastAPI with OAuth2 and JWT.
python -m venv venv
source venv/bin/activate
pip install fastapi
pip install uvicorn[standard]
pip install python-multipart
pip install python-jose[cryptography]
pip install passlib[bcrypt]
openssl rand -hex 32
uvicorn main:app --reload
http://localhost:8000/docs