## Running the API
Make sure you are running python3

```sh
# create virtual env
pyvenv env
source env/bin/activate

# install dependences
pip install -r requirements.txt

# export environment variables for db access
cp .env.shadow .env
vim .env # enter db creds
source .env

# start tornado
python ./server.py 
```

At this point one should be able to access the server at <http://localhost:8888/>

the json spotify track endpoint is at: http://localhost:8888/track_plays?isrc=<isrc> (ex. <http://localhost:8888/track_plays?isrc=USA561410900>)

static content can be dropped into `api/static/`, including ....
* a static test track endpoint can be found at <http://localhost:8888/static/test_track.json>
* an awesome logo can be found at: <http://localhost:8888/static/real-time.jpg>
