An example Ember.js app, a demo version of Rock and Roll with Ember.js
HTML JavaScript CSS Ruby
Latest commit 4f8cbd2 Feb 2, 2017 @balinterdi committed on GitHub Merge pull request #15 from asvny/patch-1
Use computed "empty" macro
Permalink
Failed to load latest commit information.
app Use computed "empty" macro Feb 2, 2017
comps Modify comp for Episode 6 that shows the two-step song creation process Oct 17, 2013
config Add rarwe-demo.herokuapp.com to list of Fastboot hosts Nov 10, 2016
css Indicate loading of data from backend Jun 15, 2014
fonts Additional comps for empty messages Sep 4, 2013
images Indicate loading of data from backend Jun 15, 2014
mirage Fix acceptance tests after moving to JSONAPI Nov 10, 2016
public Provide spinner gif for loading template Feb 26, 2016
server Use Mirage to seed the app with data Feb 23, 2016
tests Fix acceptance tests after moving to JSONAPI Nov 10, 2016
.bowerrc Upgrade to Ember & Co 2.3 Feb 12, 2016
.codeclimate.yml Exclude the top-level css directory for CodeClimate Nov 16, 2016
.csslintrc Add files for CodeClimate analysis Nov 16, 2016
.editorconfig Upgrade Ember & Co to 2.9 Nov 9, 2016
.ember-cli Upgrade to Ember & Co 2.3 Feb 12, 2016
.eslintignore Add files for CodeClimate analysis Nov 16, 2016
.eslintrc Add files for CodeClimate analysis Nov 16, 2016
.gitignore Upgrade Ember & Co to 2.9 Nov 9, 2016
.jshintrc Upgrade Ember & Co to 2.9 Nov 9, 2016
.travis.yml Upgrade Ember & Co to 2.9 Nov 9, 2016
.watchmanconfig Upgrade to Ember & Co 2.3 Feb 12, 2016
LICENSE Create LICENSE Oct 22, 2013
README.md Add CodeClimate badge Nov 16, 2016
bower.json Remove unneeded bower dependencies Nov 9, 2016
codeclimate-config.patch Add files for CodeClimate analysis Nov 16, 2016
config.ru Revert to using the hashchange location Jan 21, 2014
ember-cli-build.js Upgrade to Ember & Co 2.3 Feb 12, 2016
index.html Have song creation be restarted when moving to another artist Jun 26, 2014
package.json Remove ember-pagefront Nov 10, 2016
static.json Add Heroku buildpack configuration Nov 10, 2016
testem.js Upgrade Ember & Co to 2.9 Nov 9, 2016
yarn.lock Remove ember-pagefront Nov 10, 2016

README.md

Build Status Code Climate

Rock & Roll with Ember.js - Demo version

This app is a smaller version of the app that is built in my Rock and Roll with Ember.js book.

It demoes a simple music catalogue where you can create bands and songs, and sort and rate the latter. Please don't try to use it to actually create an inventory of your music. All the data is stored in memory only and destroyed upon refresh.

You can check out the running app here.

Tech specs

The app aims to be running on a relatively recent, stable version of Ember.js (now that the LTS versions are announced, it will probably run on the latest LTS version) and contain several of the features the full app has.

  • It uses a relatively recent version of Ember Data.
  • There is no backend. The app uses the fantastic ember-cli-mirage addon to create some seed data and to mock out server responses. All data is ephemeral and destroyed on reload.
  • It strives to show idiomatic Ember and use ES2015 features, like destructuring and let.
  • It is Fastboot enabled and can thus even render without javascript. Try curl http://demo.rockandrollwithemberjs.com/bands
  • It is deployed on Heroku.

Found a bug?

That's great, please submit a pull request.

Licensing

I would like you to be able to do anything you wish with this code as long as you don't sell it, or anything that uses it (e.g a screencast). To that end, I chose the GPL v2 License which you find here in the repository and which is nicely summarized on choosealicense.com.

Feel free to fork it, play with it, share it with friends or use some code snippets in a presentation while you keep the license and the copyright notice in the repository.

Copyright (c) 2016 Balint Erdi