A simple todo list application using reactjs as the view, and a simple Sinatra server.
- ReactJS
- Browserify
- Watchify
- Underscore.js
- Ruby 2.2.1
- Sinatra
These are the general setup steps. Instructions are very brief.
- Server side: Setup your local environment with Ruby 2.2.1. Get bundler with
gem install bundler
and dobundle install
. - Client side: Run
npm install
to get node modules. - You will need a file tasks.json in the root directory. An example (tasks.json.sample) is provided.
- Start the server by
ruby src/todolist-server.rb
at the project directory. Server will run onhttp://localhost:4567
. - Get watchify command by
npm install -g watchify
and run it bywatchify public/scripts/main.js -o public/scripts/bundle.js
.