A TodoMVC example in the Mozart Framework.
Full details, downloads and documentation for Mozart can be found on The official website
Please see The official TodoMVC website for more details on the TodoMVC project.
TodoMVC Mozart is implemented as a single controller and a set of views. A single model stores the todo items, persisted to LocalStorage by the built-in Mozart LocalStorage module.
app/controllers/
npm install
grunt run
The development server runs at http://localhost:8080/
The application can be tested from the command line:
grunt test
The spec runner is also available at http://localhost:8080/specs/
The Mozart TodoMVC app demonstrates:
- Views, Controllers, Models
- Custom Controls
- Binding
- Hash Routing
- LocalStorage persistence
- Internationalization
- Mozart Specs & BDD
Departures from specification:
- The Mozart LocalStorage places each entity record in a seperate key for speed of access, this is a departure from the TodoMVC application spec which states a single key with a large data blob.
- As this is a compiled example, a 'Full Source' link has been provided to the standalone todomvc-mozart Github project.