Piccolo + ASGI

Postgres

Make sure you create the database. See the docs for guidance.

See piccolo_conf.py for the database settings.

Migrations

To use the admin, first run the migrations. This will create the user and session tables in the database:

piccolo migrations forwards session_auth piccolo migrations forwards user

Then create a new user, making sure they're an admin.

piccolo user create

Custom Tables

An example table called Task exists in tables.py.

When you're ready, create a migration, and run it to add the table to the database:

piccolo migrations new home --auto piccolo migrations forwards home

Try it out

FastAPI

Starlette

BlackSheep

Litestar

Esmerald

Lilya