- git clone https://github.com/techopus/turf_challenge.git
- Go to project folder
- pip install -r requirements.txt
- Having mongodb installed, connect to the localhost(here localhost:27017): sudo systemctl start mongod
- run python app.py
- Go to localhost http://127.0.0.1:5000
- Retrieve pitches with .../pitches, their ids with .../pitches/id and so on.
- In order to test the logic function running fine, run python -m unittest test.py