Code for a basic flask API hosted on Heroku
This was an early attempt at creating an API with Flask. I would refactor a lot of this, in hindsight; for instance, use an ORM instead of raw SQL strings. But it worked and I was pretty proud of it at the time.