This web application shows the power of Rails and EmberJS to provide a powerful client side experience. The front end is done completely in ember, including url routing. Rails handles the asset compilation and serving up data to the ember app via a json api. Advanced BDD and TDD test tools such as (future) Cucumber and (presently) Jasmine are used to drive out the functionality.
What Does this Web Application Do?
Yourjargon provides the ability to create a private dictionary for an organization to store their own "jargon" into. Check out our applications seed data for some great examples pulled from a stackoverflow thread on programming jargon: http://www.codinghorror.com/blog/2012/07/new-programming-jargon.html.
In addition, it shows off the features of EmberJS for a small application that developers learning EmberJS can easily digest:
- Computed Properties
- Use of Ember-Data's RESTAdapter
- Rails application w/ active-model-serializer gem in coordination w/ ember-data
- Use of Twitter Bootstrap
See the wiki to get your machine setup:
- Ruby 1.9.x
- Phantomjs (for running tests)
- git clone email@example.com:OC-Emberjs/yourjargon.git
- cd yourjargon
- bundle install
- rake db:migrate
Running Rails Tests
Running the Web Application
Go to your browser at localhost:3000: Browse
Running the Tests
In console at your project home directory:
Then browse localhost:3500
Using the ember-rails gem you can pull ember & ember-data to the latest w/ this command:
rails generate ember:install --head
We'd love contributions. Submit a pull request by following the instructions below!
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Added some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request