Very Simple CRUD Using Ember.js
The application shows a table of Post objects which you can edit and show. It's also possible to create new Post objects. Every Post contain 0 or more Comments and Backtracks which are visible on the show page to play with ember's nested routes.
The application uses a Rails 3.2.x back-end and contains a generator to get you up and running.
I'm using Ember Data to retrieve data from the server.
Clone this repo
git clone https://github.com/bazzel/ember-sample2.git very_simple_crud
Navigate to the application directory
Install the gems
Create the (SQLite) database
Run the migrations
Populate the database
Start the server
- Open a browser and navigate to http://localhost:3000
Location of JS files
- ember.js router and some nested routes
- transaction usage (commit and rollback)
What's not included
- Tests (it's only a prototype :))
- Client side validation
- Flash notification