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 Cucumber and 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
- Dynamic filtering & sorting in an ember array controller
- Use of Ember-Data's RESTAdapter
- Rails 3.2 application w/ active-model-serializer gem in coordination w/ ember-data
- Jasmine test suite
- Use of Twitter Bootstrap
See the wiki to get your machine setup:
- Ruby 1.9.x
- Phantomjs (for running tests)
- git clone firstname.lastname@example.org: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 your project home directory:
bundle exec guard
go to url: localhost:3000/jasmine Browse
This will show a Jasmine dashboard in which you can run tests and see results.
We'd love contributions. Submit a pull request by following the instructions below!
1. Fork it 2. Create your feature branch (git checkout -b my-new-feature) 3. Commit your changes (git commit -am 'Added some feature') 4. Push to the branch (git push origin my-new-feature) 5. Create new Pull Request