Create a Firebase project, add a web app, turn on Cloud Firestore in production mode, and connect your app with the config snippet.
Create a Firebase project with Firestore and connect it to my app
How it works
- Create the Firebase project: Vovy opens console.firebase.google.com, clicks Create a project, and names it. You sign in with Google yourself.
- Register a web app: Vovy clicks the web icon to add an app and copies the firebaseConfig snippet. That config is fine to have in browser code.
- Create the Firestore database: Vovy opens Firestore Database, clicks Create database, picks a location, and starts in production mode, so nothing is open to the world by default.
- Add the SDK to your app: Vovy installs the firebase package with npm and adds a small setup file using your config.
- Write and read a test document: Vovy writes simple security rules for signed-in users, saves a test document, reads it back, and shows it in the Firestore console.
What you provide
- A Google account
- Your app's code
What you get
- A Firebase project
- Firestore in production mode
- App connected with the SDK
- A tested read and write
FAQ
Is Firebase free?
The Spark plan is free with daily Firestore limits. Cloud Functions and some features need the pay-as-you-go Blaze plan.
Test mode or production mode?
Test mode lets anyone read and write for 30 days, then locks everything. Production mode with proper rules is safer from the start.
Firebase or Supabase?
Firestore stores flexible documents; Supabase is a Postgres database with tables. Supabase suits data with lots of relationships, like orders and customers.
Related tasks
All tasks