README.md

REST Api Base #

Features #

  • ORM (oxyde)
  • Migrations (oxyde)
  • Authentication (JWT)

Requirements #

Setup and install #

  • Copy .env.example -> .env and edit according to your needs
  • Run poetry install

Migrations #

  • Update your database: make migrate or poetry run oxyde migrate
  • Create new migration:
    • Create or edit your models at models/
    • make migration or poetry run oxyde makemigrations
    • Review the generated migration file and make any necessary adjustments
  • Apply migrations: make migrate

Start development server #

  • make start

Documentation #

Go to /docs to access swagger auto-generated docs.