Python + Postgres + React TodoMVC Example
This application takes the React TodoMVC example and adds a Python and Postgres
All changes are immediately stored in Postgres (instead of browser localStorage
as in the upstream example), and then streamed out to clients via websockets.
To get it running:
- Install Vagrant.
- Clone the repository at https://bitbucket.org/btubbs/todopy-pg.
- From the root of the repository, type
vagrant up. Wait for the
provisioning script to finish.
vagrant sshto get a shell into the Vagrant environment.
You can now browse to the application at http://localhost:8000/. Open it in
multiple tabs, and you should see your changes to Todo items applied at the same
time on all of them.
You can watch the presentation that accompanies this code at