This is the Git repository for Greeter, which is a simple application created using Cape.JS and Ruby on Rails.
By reading its source code, you can learn how to construct Single Page Applications (SPAs) combining the Cape.JS as front-end framework with the Rails as back-end framework.
- Ruby 2.2.2 or higher
- Node 5.5 or higher
$ wget https://github.com/capejs/greeter-demo/archive/master.zip
$ unzip master.zip
$ mv greeter-demo-master greeter-demo
$ git clone git://github.com/capejs/greeter-demo.git
Run following commands on the directory that the file README.md
exists on.
$ cd greeter-demo
$ bin/bundle
$ bin/rails db:setup
$ bin/rails s
Open http://localhost:3000 with your browser.
- A tutorial based on the source code of this application.
- Another demo app using Cape.JS and Ruby on Rails.
Greeter is released under the MIT License.