#8 Easy Model Design

Here is a super easy way to visually design your models http://andycrum.github.io/ember-data-model-maker/
You can add all the models you need in the UI and you can even setup relationships.  The tool will show you the commands you should run in ember CLI, just copy and paste and voila.

It even shows you how the generated models will look like in ES6 and “classic” mode.


My favorite part though is that it shows you the JSON expected by your adapter and you can toggle between REST, JSON API and Active Model adapters.
Here is the REST JSON:

Here is the JSON API JSON:

Here is Active Model JSON:

Also published on Medium.

Published by

Emad Ibrahim

Author of asp .net MVC & TDD, entrepreneur, passionate technologist, programmer and productivity nut. more at http://t.co/oSJXPvzu