firebase-app-hosting-basics

firebase/skills · updated Apr 8, 2026

$npx skills add https://github.com/firebase/skills --skill firebase-app-hosting-basics
0 commentsdiscussion
summary

This skill enables the agent to deploy and manage modern, full-stack web applications (Next.js, Angular, etc.) using Firebase App Hosting.

skill.md

App Hosting Basics

Description

This skill enables the agent to deploy and manage modern, full-stack web applications (Next.js, Angular, etc.) using Firebase App Hosting.

Important: In order to use App Hosting, your Firebase project must be on the Blaze pricing plan. Direct the user to https://console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered to upgrade their plan.

Hosting vs App Hosting

Choose Firebase Hosting if:

  • You are deploying a static site (HTML/CSS/JS).
  • You are deploying a simple SPA (React, Vue, etc. without SSR).
  • You want full control over the build and deploy process via CLI.

Choose Firebase App Hosting if:

  • You are using a supported full-stack framework like Next.js or Angular.
  • You need Server-Side Rendering (SSR) or ISR.
  • You want an automated "git push to deploy" workflow with zero configuration.

Deploying to App Hosting

Deploy from Source

This is the recommended flow for most users.

  1. Configure firebase.json with an apphosting block.
    {
      "apphosting": {
        "backendId": "my-app-id",
        "rootDir": "/",
        "ignore": [
          "node_modules",
          ".git",
          "firebase-debug.log",
          "firebase-debug.*.log",
          "functions"
        ]
      }
    }
    
  2. Create or edit apphosting.yaml- see Configuration for more information on how to do so.
  3. If the app needs safe access to sensitive keys, use npx -y firebase-tools@latest apphosting:secrets commands to set and grant access to secrets.
  4. Run npx -y firebase-tools@latest deploy when you are ready to deploy.

Automated deployment via GitHub (CI/CD)

Alternatively, set up a backend connected to a GitHub repository for automated deployments "git push" deployments. This is only recommended for more advanced users, and is not required to use App Hosting. See CLI Commands for more information on how to set this up using CLI commands.

Emulation

See Emulation for more information on how to test your app locally using the Firebase Local Emulator Suite.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.630 reviews
  • Shikha Mishra· Dec 20, 2024

    firebase-app-hosting-basics fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Olivia Rao· Dec 4, 2024

    firebase-app-hosting-basics fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Aisha Chen· Nov 23, 2024

    Registry listing for firebase-app-hosting-basics matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Rahul Santra· Nov 11, 2024

    Registry listing for firebase-app-hosting-basics matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Olivia Thomas· Oct 14, 2024

    firebase-app-hosting-basics reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Pratham Ware· Oct 2, 2024

    firebase-app-hosting-basics reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Valentina Okafor· Sep 25, 2024

    Keeps context tight: firebase-app-hosting-basics is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Oshnikdeep· Sep 21, 2024

    firebase-app-hosting-basics is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Zaid Shah· Sep 5, 2024

    firebase-app-hosting-basics is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Aisha Gupta· Aug 24, 2024

    Keeps context tight: firebase-app-hosting-basics is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 30

1 / 3