Files
fastapi-boilerplate/README.md
Dmitry Chumak b3c5c032cf initial commit
worked on async alembic migrations, User model.

Current issue:

web_1      | INFO:     172.20.0.1:62958 - "POST /users/ HTTP/1.1" 500 Internal Server Error
web_1      | ERROR:    Exception in ASGI application
web_1      | Traceback (most recent call last):
...
web_1      | response
web_1      |   value is not a valid dict (type=type_error.dict)

when trying to create new user
2022-12-19 01:18:25 +03:00

359 B

FastAPI Boilerplate

Compact template for FastAPI-based projects. SQLAlchemy ORM and Alembic migrations included.

Alembic

To add new models to migrations you need to import them inside migrations/env.py.

To quickly migrate:

docker-compose exec web bash
pipenv run alembic upgrate head

So that all .env varibles will be catched properly