Get up and running with Definable in minutes
python --version
..env
file:JWT_SECRET
and MASTER_API_KEY
. You can use Python’s secrets
module: python -c "import secrets; print(secrets.token_hex(32))"
.Supabase Connection Types
postgresql://postgres:[YOUR-PASSWORD]@db.xxxxxxxxxxx.supabase.co:5432/postgres
postgresql://postgres.xxxxxxxxxxx:[YOUR-PASSWORD]@...
alembic.ini
and update the sqlalchemy.url
to match your database URL:@
, remember to URL-encode them in your .env
file, but in the alembic.ini
file, you need to escape %
by doubling it: %%
.http://localhost:8000/api/
http://localhost:8000/docs
http://localhost:8000/redoc
http://localhost:8000/docs
in your browser/api/auth/signup
endpoint/api/auth/login
Database Connection Issues
pg_isready
psql
to verify credentialsPoetry Dependency Issues
Migration Errors
IPv4/IPv6 Connectivity Issues