Originally published at EmberScreencasts.com on Oct 21, 2016. https://www.emberscreencasts.com/post...
How do you quickly build up a server and the associated database?
In this episode we define the '/monsters' to return 10 fully defined monsters and '/monsters/:id' to return the correct monster.
To do that, we create our first ember-cli-mirage factory and scenario, then combine it with some routing tricks.
Links:
ember-cli-mirage quickstart guide - http://www.ember-cli-mirage.com/docs/...
Want to learn Ember 2? Go to https://www.emberschool.com