- create virtual environment:
virtualenv app-server
- activate it:
. ./app-server/bin/activate
- add werkzeug package:
pip install werkzeug
- create DB and import data into it:
sqlite3 app.db < app.db.sql
- run the server:
python api-server.py
- you should use URL http://localhost:4000 for your requests
NB! Alternatively you can give http://www.mocky.io/ a go. Here is a working mock: http://www.mocky.io/v2/563da96b1000009b2bbe6c97