This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
rotini/backend
Marc Cataford 23248d0277
feat(backend): file permissions and ownership (#38)
* feat(backend): file permissions and utilities

* feat(backend): file upload/list permissions

* refactor(backend): class-based middleware to play nicer with tests

* test(backend): async fixtures + proper foreign key cascade

* fix(backend): temporarily bypass auth
2023-08-28 05:21:49 +00:00
..
docs/research docs: user+password storage research documentation (#30) 2023-08-19 18:45:58 +00:00
rotini feat(backend): file permissions and ownership (#38) 2023-08-28 05:21:49 +00:00
script build(backend): ensure that migrate settings set host properly (#34) 2023-08-26 05:31:22 +00:00
tests feat(backend): file permissions and ownership (#38) 2023-08-28 05:21:49 +00:00
.pylintrc feat(backend): file permissions and ownership (#38) 2023-08-28 05:21:49 +00:00
.python-version feat(backend): sub fetch endpoints (#2) 2023-08-08 23:49:54 -04:00
Dockerfile build: use python:x-slim base (#18) 2023-08-16 00:32:26 -04:00
pyproject.toml build(backend): add db-aware testing tooling (#9) 2023-08-12 11:45:51 -04:00
README.md feat(backend): handle settings by environment (#13) 2023-08-12 15:56:52 -04:00
requirements.in feat(backend): manage user sessions using tokens (#36) 2023-08-27 11:33:55 -04:00
requirements.txt feat(backend): manage user sessions using tokens (#36) 2023-08-27 11:33:55 -04:00
requirements_dev.in feat(backend): file permissions and ownership (#38) 2023-08-28 05:21:49 +00:00
requirements_dev.txt feat(backend): file permissions and ownership (#38) 2023-08-28 05:21:49 +00:00

Rotini backend

Development

Before starting, make sure to run the root bootstrap script so the task commands are enabled.

task be:start-db will provision a database for local usage.

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.