This is the presentation layer for flexit. It is implemented with the FastAPI python package.
During installation, the flexit package is installed via requirements.txt
Assuming you have access to a database as described in the ADR, this system can be ran via docker-compose or in a virtual environment.
cp app.override.env.in app.override.env
Fill in the DATABASE_URL
environment variable
docker-compose up
python -m venv && source venv/bin/activate && pip install -r requirements.txt
export DATABASE_URL='<your_db_url>'
uvicorn app.main:app --reload