Building a Simple Birthday App with Flask-SQLAlchemy

Posted by Bob on Thu 11 May 2017 in Flask • Tagged with Flask-SQLAlchemy, SQLAlchemy, Flask, Facebook, birthday, calendar, icalendar, datetime • 3 min read

In this article I teach you how to get started with Flask-SQLAlchemy. I will set up a model, create the DB, retrieve birthdays from FB and import them into the DB. Lastly I will query the birthdays by date range.


Continue reading

Simple Flask app to compare the weather of 2 cities

Posted by Bob on Thu 20 April 2017 in Flask • Tagged with Flask, weather, API, OpenWeatherMap, learning, Heroku, pytz, deploy, Jinja, CSS • 3 min read

In this post I show you how to build a simple Flask app to compare the weather of 2 cities using the OpenWeatherMap API. Maybe this aids you in solving this week's challenge.


Continue reading

Beginning Flask

Posted by Julian on Thu 13 April 2017 in Flask • Tagged with Flask, python, decorators, tutorial, learning • 5 min read

In this post I cover the basics of Flask in language that anyone can understand.


Continue reading

Flask for Loops - Printing Dict Data

Posted by Julian on Thu 06 April 2017 in Flask • Tagged with Flask, loops, python, decorators, tutorial, learning • 4 min read

In this post I demo how to create an extremely simple Flask app that prints the contents of a Dict to a web page.


Continue reading

Simple API Part 2 - Building a Deep Work Logger with Flask, Slack and Google Docs

Posted by Bob on Fri 10 March 2017 in Flask • Tagged with Flask, Slack, Google docs, Heroku, APIs, pygsheets, git, commands, productivity, learning • 3 min read

After Simple API - part 1 a more practical app in this part 2 tutorial: a Deep Work logger integrating Google docs and Slack, including deployment of the app to Heroku.


Continue reading

How To Build a Simple API with Flask and Unit Test it

Posted by Bob on Fri 03 March 2017 in Flask • Tagged with APIs, Flask, REST, curl, testing, unittest, inventory • 3 min read

In this post I will create a simple API with Flask and test it with curl and unit testing its HTTP methods.


Continue reading