https://github.com/shdavlatbek/fastapi-users-uow
https://github.com/shdavlatbek/fastapi-users-uow
alembic fastapi fastapi-sqlalchemy fastapi-template fastapi-users unit-of-work
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shdavlatbek/fastapi-users-uow
- Owner: shDavlatbek
- Created: 2024-10-22T13:24:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-22T13:50:41.000Z (about 1 year ago)
- Last Synced: 2025-04-05T16:12:54.586Z (9 months ago)
- Topics: alembic, fastapi, fastapi-sqlalchemy, fastapi-template, fastapi-users, unit-of-work
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### About
This project use a Unit Of Work structure and integrated with FastAPI Users library
### Run server
1. Create virtual environment, install requirements
2. Rename `.env-example` to `.env` and change environments with yours
3. Run `python src/main.py`
### Migrations
1. In root directory run
`alembic revision --autogenerate -m "Message"`
2. Apply changes
`alembic upgrade head`