Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

topsport-com-au/example-starlite-saqlalchemy

Repository files navigation

example-starlite-saqlalchemy

Example API built on starlite-saqlalchemy

Setup

  • $ poetry install
  • $ cp .env.example .env
  • $ docker-compose up -d
  • $ poetry run alembic upgrade head

Run

$ poetry run run-app

Development

Install dev dependencies:

$ python -m pip install -r dev.requirements.txt

Test

$ tox

Migrations

Ensure the database service is up

$ docker-compose up -d

Revision

$ poetry run alembic revision --autogenerate -m "revision description"

Migration

$ poetry run alembic upgrade head

About

Example starlite-saqlalchemy application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published