A "hello world" style Flask web server application that (optionally) runs on Heroku. Some notable parts used in this web application are:
Before you get started you'll need to have Python 2.7+ installed. After, you'll need to also instal virtualenv. Research how to do this for whatever platform you run before continuing.
Create a virtual environment the web application by running the following commands in a terminal.
virtualenv my-venv
source my-venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python setup.py develop
Before you start the web server you should prime the database with a few sample entries.
./manage.py prime_database
Then, start the web server on your local machine using Flask-Manager.
./manage.py runserver
Then, in your browser, navigate to http://127.0.0.1:5000/. You should see something like the following image.
Then, on your CLI, use curl and jq to inspect the JSON API that follows JSON Schema.