- Python 3.9+
- redis
- Its possible to configure redis to connect to a different port
REDIS_HOST: Default 'redis'
REDIS_PORT: Default '6379'
- The backend needs a
redis
instance running to store the claims data.
redis-server
- Create virtual env and run the api
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python api.py
To load the db run the following command with redis-server
running
file
should be the csv containing the claims data.
source .venv/bin/activate
python loaddb.py [file]