https://github.com/georgi2704/fastapi-users-sqlalchemy-jwt-demo
https://github.com/georgi2704/fastapi-users-sqlalchemy-jwt-demo
authentication cookie fastapi fastapi-template fastapi-users jwt python sqlalchemy
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/georgi2704/fastapi-users-sqlalchemy-jwt-demo
- Owner: Georgi2704
- Created: 2021-10-15T13:20:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-15T15:55:07.000Z (over 4 years ago)
- Last Synced: 2026-01-01T16:34:53.063Z (5 months ago)
- Topics: authentication, cookie, fastapi, fastapi-template, fastapi-users, jwt, python, sqlalchemy
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
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.
```bash
pip install -r ./requirements.txt
```
Start the server by running main.py or a hot reloading, api server:
```bash
uvicorn main:app --reload --port 5000
```
Swagger docs/GUI at:
```
http://127.0.0.1:5000/api/docs
```