koa-todo
a todo example write with koa and react.
Develop
git clone https://github.com/koajs/todo.git
make install
make watch
# use node 0.11
node --harmony app.js
Technology
backend
- koa
- levelup
frontend
- react (without flux)
- superagent
- browserify
TODO
- socket.io
- backend test
- frontend test
- try flux?
Tree
βββ Makefile
βββ app.js
βββ common
βΒ Β βββ db.js
βββ config.js
βββ controllers
βΒ Β βββ home.js
βΒ Β βββ task.js
βββ models
βΒ Β βββ task.js
βββ package.json
βββ public
βΒ Β βββ javascripts
βΒ Β βΒ Β βββ app.js
βΒ Β βΒ Β βββ bundle.js
βΒ Β βΒ Β βββ components
βΒ Β βΒ Β βΒ Β βββ footer.js
βΒ Β βΒ Β βΒ Β βββ header.js
βΒ Β βΒ Β βΒ Β βββ textinput.js
βΒ Β βΒ Β βΒ Β βββ todo.js
βΒ Β βΒ Β βΒ Β βββ todo_app.js
βΒ Β βΒ Β βΒ Β βββ todo_list.js
βΒ Β βΒ Β βββ task_store.js
βΒ Β βββ todomvc-common
βΒ Β βββ base.css
βΒ Β βββ bg.png
βΒ Β βββ bower.json
βΒ Β βββ readme.md
βββ routes.js
βββ test
βββ views
βββ index.html
License
MIT