rkaufman13 / stretch

0 stars 0 forks source link

Rk/localdev stuff #11

Closed rkaufman13 closed 1 week ago

rkaufman13 commented 1 week ago

Seeds the db with a first user and the schema for videos. Also updates package.json so that npm start runs both the frontend and the db emulator and automatically imports the seed data. (Tilt who?)

I'll update the readme eventually, but to save the data from your session, run firebase emulators:export path/to/dir while the emulator is running. You can also start the emulator with --export-on-exit path/to/directory but I think it's a good idea for now to not persist everything.