This application demonstrates how to build a complete client-side application that is responsible for rendering all HTML, given a server-side JSON API. It uses Rails for the backend and Ember.js as the framework for the frontend.
-
Install Ruby on Rails: rubyonrails.org/download
-
Clone this repo and
cd
into the directory. -
Run
bundle install
to install all of the Rails packages required for the server app. -
Run
rake db:migrate
to set up the database structure. -
Run
rake db:seed
to pre-populate the database with some data. -
Run
rails server
to start the web server. -
In your browser, navigate to
http://localhost:3000
to view the app.