Local Firebase Development with Emulators

Why Emulators Matter If you’re building anything substantial with Firebase, running your entire stack locally isn’t just convenient - it’s essential. I’ve been diving deep into Firebase development lately, and the emulators have become an indispensable part of my workflow. The Setup First things first, you’ll need the Firebase CLI. Here’s what a typical firebase.json looks like for a full-stack setup: { "hosting": { "public": "dist", "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], "rewrites": [ { "source": "**", "destination": "/index....

December 15, 2023 · 3 min · Alastair