No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 96.6%
  • Dockerfile 3.4%
Find a file
dependabot[bot] 3b5fbf1ad1
Some checks failed
ci / tests (push) Successful in 55s
ci / release_staging (push) Has been skipped
ci / release_dev (push) Failing after 3s
ci / release_production (push) Has been skipped
Bump idna from 3.6 to 3.7 (#33)
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 09:16:46 +01:00
.github/workflows fix: temporarily disable xenon (#19) 2023-11-09 11:59:40 +00:00
.vscode tests: fix failing pydantic tests 2023-11-09 09:16:35 +00:00
boreas perf: reuse amqp connection across requests (#22) 2023-11-11 16:17:56 +00:00
tests fix typo 2023-12-05 13:41:35 +00:00
.DS_Store Add poetry dynamic versioning (#2) 2023-04-17 11:44:42 +01:00
.env.example revert: only upgrade dependencies & add sentry (#17) 2023-11-09 11:36:01 +00:00
.gitignore Remove dead letter queue code (#8) 2023-05-02 15:24:27 +01:00
asgi.py revert: only upgrade dependencies & add sentry (#17) 2023-11-09 11:36:01 +00:00
Dockerfile build: install git in dockerfile (#31) 2024-03-05 11:36:19 +00:00
poetry.lock Bump idna from 3.6 to 3.7 (#33) 2024-04-15 09:16:46 +01:00
pyproject.toml Bump fastapi from 0.104.1 to 0.109.1 2024-02-27 17:56:10 +00:00
README.md feat: use request schema in view 2023-04-11 10:23:58 +01:00
tox.ini revert: only upgrade dependencies & add sentry (#17) 2023-11-09 11:36:01 +00:00

Boreas

Boreas is a simple service enabling Harmonia to accept transactions from retailers via an API.

Pre-requisites

Configuration

The project is configured through environment variables. A convenient way of setting these is via the .env file found in the project root. See settings.py for configuration options that can be set in this file.

Your code editor should support loading environment variables from the .env file either out of the box or with a plugin. For shell usages, you can have poetry automatically load these environment variables by using poetry-dotenv-plugin, or use a tool like direnv.

Running the Project

uvicorn asgi:app --host 0.0.0.0 --port 8001
python dlx_consumer.py

The consumer is used for retrying queued transactions that for whatever reason didn't make it into Harmonia.

Deployment

There is a Dockerfile provided in the project root. Build an image from this to get a deployment-ready version of the project.

Unit Tests

pytest tests

Tests will be autodiscovered.