Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

koajs/todo

Repository files navigation

koa-todo

build status Coveralls David deps node version Gittip

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