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
:
app
If you cloned the repository and ran nix build
:
result/bin/app
If you installed using poetry install
:
poetry run app
Alternative
- Activate your virtual environment
- Change directory to tedective_api:
cd/api/tedective_api
- Use poetry:
poetry install
poetry build
poetry run app
Where to find the API
Once started, the API should be online on localhost:8000/docs