Ember-cli mirage addon examples


#1

I have decided to give a try to Ember-cli mirage addon, it looks the right solution for what i am looking for. I have an invoice app generator but i am still using DS.fixturesadapter.

Is there any good example or repository with ember-cli-mirage addon where i cam see how i create data object persistent?


#2

You can use: https://github.com/emberjs/ember-data-fixture-adapter

like this:

https://github.com/Eric-Guo/ember-examples-with-cli/commit/86753101a07449aba965e51c3d0d44f9cc38c26d


#3

I was not aware about this change and the new addon, but what’s the main difference between the old DS.FixtureAdapter and the new ember-data-fixture-adapter? I am looking for a solution to create data object model in a persistent way and with fixtures it s no possible. I was thinking also about localstorage

I am looking forward to your expert opinions and tips


#4

thanks for the examples


#5

I like to solve this with Ember Pouch

Example:

You can run Pouch without a CouchDB back-end and get exactly what you want.