A demo app for a tutorial I wrote called "The simplest possible Ember Data CRUD".
This app does not represent best practice for architecture. It's the minimum number of files needed to demonstrate CRUD - a starting place if you're confused by what Ember Data is and how it works.
This app does not connect to a back end. However, using an ember-cli feature called http-mock, I created a fake server that CRUD requests go to. That means you can run the project locally and see the network requests and responses in the Chrome Inspector's Network tab. The entire "server" folder is not part of a normal Ember app - it's the mocked, fake server. All records will disappear on refresh.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd simplest-ember-data-crud
npm install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.