Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 635 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 635 Bytes

claims

Requirements

  • Python 3.9+
  • redis

Prepare

  • 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

Load db

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]