├── .circleci └── config.yml ├── .env ├── .github ├── ISSUE_TEMPLATE.md └── workflows │ └── tdd.yaml ├── .gitignore ├── .gitmodules ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── alembic.ini ├── app ├── __init__.py ├── auth.py ├── crud.py ├── database.py ├── errors.py ├── main.py ├── models.py ├── schemas.py ├── settings.py └── tests │ ├── __init__.py │ ├── test_api.py │ ├── test_auth.py │ └── test_schemas.py ├── docker-compose.yml ├── docker ├── Dockerfile ├── migrate.sh ├── restic │ ├── Dockerfile │ ├── backup.sh │ └── entry.sh ├── run.sh ├── start.sh └── test.sh ├── k6 └── index.js ├── migrations ├── README ├── env.py ├── script.py.mako └── versions │ ├── 48bf0bdc1ca1_add_auth_for_result_column.py │ └── 81b4c6fc826d_add_ballot_table_and_ballot_id_to_votes.py ├── pyproject.toml ├── requirements-dev.txt ├── requirements.txt └── scripts └── create_admin_token.py /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/.env -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/tdd.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/.github/workflows/tdd.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/README.md -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/alembic.ini -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/auth.py -------------------------------------------------------------------------------- /app/crud.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/crud.py -------------------------------------------------------------------------------- /app/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/database.py -------------------------------------------------------------------------------- /app/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/errors.py -------------------------------------------------------------------------------- /app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/main.py -------------------------------------------------------------------------------- /app/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/models.py -------------------------------------------------------------------------------- /app/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/schemas.py -------------------------------------------------------------------------------- /app/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/settings.py -------------------------------------------------------------------------------- /app/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/tests/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/tests/test_api.py -------------------------------------------------------------------------------- /app/tests/test_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/tests/test_auth.py -------------------------------------------------------------------------------- /app/tests/test_schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/app/tests/test_schemas.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/migrate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/migrate.sh -------------------------------------------------------------------------------- /docker/restic/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/restic/Dockerfile -------------------------------------------------------------------------------- /docker/restic/backup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/restic/backup.sh -------------------------------------------------------------------------------- /docker/restic/entry.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/restic/entry.sh -------------------------------------------------------------------------------- /docker/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/run.sh -------------------------------------------------------------------------------- /docker/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/start.sh -------------------------------------------------------------------------------- /docker/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/docker/test.sh -------------------------------------------------------------------------------- /k6/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/k6/index.js -------------------------------------------------------------------------------- /migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/migrations/env.py -------------------------------------------------------------------------------- /migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/migrations/script.py.mako -------------------------------------------------------------------------------- /migrations/versions/48bf0bdc1ca1_add_auth_for_result_column.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/migrations/versions/48bf0bdc1ca1_add_auth_for_result_column.py -------------------------------------------------------------------------------- /migrations/versions/81b4c6fc826d_add_ballot_table_and_ballot_id_to_votes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/migrations/versions/81b4c6fc826d_add_ballot_table_and_ballot_id_to_votes.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/create_admin_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MieuxVoter/majority-judgment-api-python/HEAD/scripts/create_admin_token.py --------------------------------------------------------------------------------