Marc Cataford
bf7431f747
* feat(backend): sub fetch endpoints * ci: skip frontend/backend if no frontend change * ci: backend formatting * build: tooling and commands * build: psycopg2 * build: dependency locking tooling * build: pylint * feat: migration handling * feat: rudimentary upload flow * feat: basic file create/read interactions * docs: stubs * build: migration command
640 B
640 B
Rotini backend
Development
Before starting, make sure to run the root bootstrap script so the task
commands are enabled.
Locally, a Postgres database that can be used for development can be started via docker-compose up -d
.
An envfile should be present at .env
and should define:
DATABASE_USERNAME
, the username to initialize the DB user with;DATABASE_PASSWORD
, the password to assign to that test user;DATABASE_HOST
, the host on which the database runs;DATABASE_PORT
, the port on which the database runs;DATABASE_NAME
, name of the database within the Postgres instance.