Example web service using Flask and Postgres