Skip to content

Light-it-labs/fastapi-template

Repository files navigation

fast-api-template

Auth Service in FastAPI

Install dependencies

  1. Install Poetry. pip install poetry
  2. Access Poetry shell. poetry shell
  3. Install dependencies. poetry install

Run dockerized project

docker-compose up -d

Migrations

Migrations can be autogenerated using the generate_migrations.sh script.

Linters

We use flake8 and black as linters, to run them on pre-commit please run pre-commit install.

Tests

  • You can run tests locally by running ./tests-start.sh (this will use your local database).
  • Tests can also run in docker container with the following command: docker-compose exec api ./tests-start.sh.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published