Initial ToDoMVC

In this second section, we’re going to rewrite a Flask-based ToDo application, because, hey, don’t we all love a good todo demo. In this case, we’ll model it after the various ToDoMVC implementations. That is, our starting point will have:

  • Flask and Flask-Restless with SQLite
  • jQuery which fetches/updates the data and redraws the HTML using simple jQuery-based client-side templating implementation

Python Setup

Let’s get started. We have a Flask application. We aren’t going to distribute it, so we don’t need a setup.py. But to keep ourselves sane, let’s make a requirements.txt for dependencies:

requirements.txt Python dependencies
flask-restless
flask-sqlalchemy

Comments

comments powered by Disqus