A simple mobile web app to track your exercise.
Start RethinkDB then start the server:
$ rethinkdb # then in another window,
$ npm startWith RethinkDB and the server started,
$ npm run testTo handle the views, I appended each template to the <body>, and toggled visibility with the router. This way, you don't lose your "session" when you're entering a new workout, and you can optimistically update things in other tabs (which you normally wouldn't be able to do, since those tabs wouldn't be attached to the DOM).
This is kind of bad, since some of your app's state ends up in your views. Normally, state should be in your models but this lets us avoid hitting the network every time a user completes a set (to sync the changes to that exercise model). It also prevents us from ripping out the DOM every time a user decides to change tabs.
MIT. See LICENSE.md