Mirage 0.3 Dev Boilerplate
✓ Published0🌍 Public
AA6Brgeuka
Last edited Feb 21, 2018
Created on Feb 21, 2018
This example demonstrates a Mirage 0.3 development boilerplate for an Ember.js application, using Ember Data models and routes to display authors, books, and their associated tags. It shows how Mirage's factories, models, and serializers simulate polymorphic relationships, such as an author belonging to a taggable book. The application route queries a single author with `findRecord` and an `include: 'books.tags'` request to render related data. The code relies on Ember CLI Mirage 0.3.2, Ember Data 2.10, and JSON:API serializers to define and serve mock API data.
AI-generated description