jmonster / hashtag-drugs

🔝🍲
1 stars 1 forks source link

add mirage; toggle between JSON API and FIREBASE #5

Closed jmonster closed 6 years ago

egaba commented 6 years ago

@jmonster im not stuck on using mirage. i only find it valuable that we can add fixtures, but even then, if firebase is hooked up properly, we probably dont need this. thoughts?

jmonster commented 6 years ago

Switching between the two may bite us (if anything special has to be done for relationships?), but it would be good for the test suite. Alternatively we probably want a script that resets and seeds a test database instead?

It at least turned out much cleaner than I was expecting 😬