DEV Community

bg
bg

Posted on

2 3

πŸ”₯ Firebase: Staging & Production Projects


In this sub-post, I'll walk through setting up a project in Firebase. The best way to create a production & staging environment for a new project in Firebase is to simply create two projects:

  1. your-project-staging
  2. your-project-production

1. Create a project

Firebase – empty dashboard

Firebase – new project

Firebase – project dashboard


2. Add a web app

Firebase – new web app


3. Enable email/password authentication

Firebase – auth empty

Firebase – auth enable


4. Set up Firestore

Firebase – Firestore empty

Firebase – Firestore init

Firebase – Firestore region


Run steps 1-4 twice, so that you end up with 2 projects:

Firebase – 2 projects


Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (1)

Collapse
 
alpinstang profile image
John McDonald β€’

following the whole guide for next, zeit (vercel) and firebase! Thanks!

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay