FastAPI Auth boilerplate that uses SQLAlchemy, Postgres, Alembic, and Docker.
Clone the repo
https://github.com/Sebsebzen/Fastapi-Auth-Boilerpalte.gitAdd missing environment variables to .env file in fastapi folder (optional)
MAILGUN_EMAIL=<mailgun-email>
MAILGUN_PASSWORD=<mailgun-password>then run
$ docker-compose up -d --buildwhen starting for the first time run
$ docker-compose exec fastapi alembic upgrade headalternatively, for development mode run
$ docker-compose up -d db
$ uvicorn app.main:app --reloadAccess API endpoints under
http://localhost:8000/docs