# mojo-todomvc-example

> http://mojo-todomvc-example.herokuapp.com/

Latest version **0.1.2** (published 2014-08-05) · BSD license · 0 weekly downloads

## Install

```sh
npm install mojo-todomvc-example
pnpm add mojo-todomvc-example
yarn add mojo-todomvc-example
bun add mojo-todomvc-example
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2014-08-05 |
| First published | 2014-06-11 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | architectd |

## Links

- npm: https://www.npmjs.com/package/mojo-todomvc-example
- Repository: https://github.com/classdojo/mojo-starter
- Issues: https://github.com/classdojo/mojo-starter/issues
- npm.io page: https://npm.io/package/mojo-todomvc-example

## Dependencies (14)

- [sift](https://npm.io/package/sift.md) 0.0.x
- [mkdirp](https://npm.io/package/mkdirp.md) 0.5.0
- [pouchdb](https://npm.io/package/pouchdb.md) 2.2.3
- [bindable](https://npm.io/package/bindable.md) 0.5.x
- [mojo-cli](https://npm.io/package/mojo-cli.md) 0.0.x
- [paperclip](https://npm.io/package/paperclip.md) 0.3.x
- [mojo-views](https://npm.io/package/mojo-views.md) 0.1.x
- [noselector](https://npm.io/package/noselector.md) 0.0.11
- [mojo-models](https://npm.io/package/mojo-models.md) 0.1.x
- [mojo-router](https://npm.io/package/mojo-router.md) 0.3.x
- [mojo-mediator](https://npm.io/package/mojo-mediator.md) 0.0.x
- [mojo-bootstrap](https://npm.io/package/mojo-bootstrap.md) 0.0.x
- [mojo-paperclip](https://npm.io/package/mojo-paperclip.md) 0.4.x
- [mojo-application](https://npm.io/package/mojo-application.md) 0.0.x

## Recent versions

- 0.1.2 (latest) — 2014-08-05
- 0.1.1 — 2014-07-03
- 0.1.0 — 2014-06-11

## README

### Mojo TodoMVC [![Build Status](https://travis-ci.org/classdojo/mojo-todomvc-example.svg)](https://travis-ci.org/classdojo/mojo-todomvc-example)

http://mojo-todomvc-example.herokuapp.com/

### Mojo.js Resources

- [documentation](http://mojo-docs.herokuapp.com/)
- [starter kit](https://github.com/mojo-js/mojo-starter)

### Requirements

- [Node.js](http://nodejs.org/) - needed for unit testing and [browserify](http://browserify.org/)


### Highlights

- Unit tests run entirely in node.js
- Coverage tool covers everything, including templates

### Mojo Modules Used

- [mojo-application](https://github.com/mojo-js/mojo-router) - Main entry point to application
- [mojo-models](https://github.com/mojo-js/mojo-models) - Models
- [mojo-views](https://github.com/mojo-js/mojo-views) - View Controller
- [mojo-paperclip](https://github.com/mojo-js/mojo-views) - Template engine
- [mojo-router](https://github.com/mojo-js/mojo-router) - http router
- [mojo-mediator](https://github.com/mojo-js/mojo-mediator) - commands / mediator


### Project Structure

```
app/
  js/
    entry.js - initializes the application and adds to the body of the DOM
    index.js - main application class
    views/ - all view controllers & templates displayed to the user
    routes/ - all HTTP routes. controls the view state of the application
    models/ - all data models for the application. Controls all information.
    commands/ - global commands for the application.
build/ - output folder where app is built to
test/
  unit/ - unit test files. These run in node.
```


### Installation

```
git clone git@github.com:mojo-js/mojo-todomvc-example.git && cd mojo-todomvc-example && npm install;
```

### Commands

```
npm start - starts the todoMVC http server on port 8085
npm test  - runs all the todoMVC tests
npm run hotswap - runs the hotswap script for debugging
npm run build - builds the application as one js file
make test-cov - build coverage report
make test-watch - run the tests & re-run whenever a file changes
```

---
_Source: https://npm.io/package/mojo-todomvc-example · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
