Skip to content

Georgi2704/fastapi-users-sqlalchemy-jwt-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-users-sqlalchemy-jwt-demo

A demo for authentication with FastAPI Users using SQLAlchemy and JWT tokens.

If you want to use a virtual environment first create the environment:

python3 -m venv .venv
source venv/bin/activate

You can install the required libraries with pip. The following command will install all the required libraries for the project.

pip install -r ./requirements.txt

Start the server by running main.py or a hot reloading, api server:

uvicorn main:app --reload --port 5000

Swagger docs/GUI at:

http://127.0.0.1:5000/api/docs