๐Ÿ”ฅ

Firebase

Firebase is Google's backend-as-a-service platform for building mobile and web apps without managing your own servers. It's the #21 most-used developer tool, reported in roughly 13.1% of developer surveys. It bundles hosting, user authentication, real-time and document databases (Realtime Database and Firestore), and serverless Cloud Functions into one managed platform โ€” a fast way for small teams to ship a working app without standing up their own backend infrastructure.

Quick facts
Type: Backend-as-a-service / mobile & web app platform
Made by: Google
License: Freemium (Spark free tier + pay-as-you-go Blaze tier)
Platforms/Hosting: Fully managed on Google Cloud infrastructure
Primary use case: Hosting, auth, and databases for mobile/web apps without running your own backend
Jump to: ExampleGetting startedBest for

Example

A firebase.json file configures how a project's hosting, functions, and Firestore rules deploy together.

// firebase.json
{
  "hosting": {
    "public": "dist",
    "ignore": ["firebase.json", "**/.*"],
    "rewrites": [{ "source": "**", "destination": "/index.html" }]
  },
  "functions": { "source": "functions" }
}

# deploy hosting + functions in one command
firebase deploy

Getting started

Install the Firebase CLI, then log in and link it to a project created in the Firebase console.

# install the CLI globally
npm install -g firebase-tools

# log in and initialize a project
firebase login
firebase init
Best for: Solo developers and small teams shipping a mobile or web MVP quickly โ€” Firebase's bundled auth, real-time database, and hosting remove the need to run a custom backend, at the cost of some flexibility as the app scales.