How to delete object data from mirage server, which is using a faker factory to generate entries


#1

in my project I am using mirage in backend to store data

i created a faker factory using it , since i dont know how i can fetch data in mirage directly.

what all changes i need to do for creating updating and deleting records in mirage using ember.

what all chanes i need to do in config.js

and default.js in scenarios


#2

A lot of these questions can be answered by looking through the docs.

Think about config.js and default.js like this. config.js acts as your server. It reflects what you want your get, post, del, etc. requests should respond with. default.js is kind of like your seeder for your server.