Usage
Prerequisites
- First suggestion is that you should have run the ETL first.
- Second, you should have Meilisearch running.
Running API
If you installed flake profile using nix profile install:
appIf you cloned the repository and ran nix build:
result/bin/appIf you installed using poetry install:
poetry run appAlternative
- Activate your virtual environment
- Change directory to tedective_api:
cd/api/tedective_api
- Use poetry:
poetry installpoetry buildpoetry run app
Where to find the API
Once started, the API should be online on localhost:8000/docs