An open API service indexing awesome lists of open source software.

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

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
```