https://github.com/pog7x/fastapi-arch-tmpl
Python Fastapi application with sqlalchemy ORM template
https://github.com/pog7x/fastapi-arch-tmpl
aio-pika api black database docker docker-compose fastapi fastapi-boilerplate fastapi-crud fastapi-sqlalchemy fastapi-template flake8 isort orm python rmq sqlalchemy sqlalchemy-async
Last synced: 2 months ago
JSON representation
Python Fastapi application with sqlalchemy ORM template
- Host: GitHub
- URL: https://github.com/pog7x/fastapi-arch-tmpl
- Owner: pog7x
- License: mit
- Created: 2022-12-25T14:06:27.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-07-30T19:18:20.000Z (2 months ago)
- Last Synced: 2025-07-30T22:03:39.626Z (2 months ago)
- Topics: aio-pika, api, black, database, docker, docker-compose, fastapi, fastapi-boilerplate, fastapi-crud, fastapi-sqlalchemy, fastapi-template, flake8, isort, orm, python, rmq, sqlalchemy, sqlalchemy-async
- Language: Python
- Homepage:
- Size: 1000 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Running app**
1. `docker-compose -f docker-compose.yml up -d`**Testing app**
1. `docker-compose -f docker-compose.test.yml up -d`
2. `docker exec -ti fastapi-arch-tmpl_app_1 bash`
3. In docker container console: `pytest -vv`## alembic revision
```bash
alembic revision --autogenerate -m "" --rev-id=
```## alembic migrate
```bash
alembic upgrade head
```