Skip to content

Simple implementation for Fastapi with a relational database and migrations

Notifications You must be signed in to change notification settings

nf1s/fastapi_sqlalchemy_alembic

Repository files navigation

fastapi_sqlalchemy_alembic

This repo is used as a part of a tutorial to show how to use Fastapi and pydantic with Sqlalchemy, postgresql, Alembic(for migrations).

The full article is published on medium here

How to build

docker-compose build

How to run

docker-compose up

and go to:

http://localhost:8000

Documentation

swagger - http://localhost:8000/docs
redoc - http://localhost:8000/redoc

Pgadmin4

http://localhost:5050

About

Simple implementation for Fastapi with a relational database and migrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published