Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 304 Bytes

readme.md

File metadata and controls

14 lines (8 loc) · 304 Bytes

Running API locally

pip3 install -r requirements.txt
fastapi run main.py

Tests

Test the crud.py interaction with the database:

pytest test_crud.py 

Test the API code (you don't have to run the API separately, this will run the API during testing):

pytest test_main.py