firebase-app-hosting-basics

Deploy and manage Next.js/Angular apps to Firebase App Hosting via firebase-tools.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/involvex/happy-vibecode --skill firebase-app-hosting-basics-involvex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-app-hosting-basics
Source: https://github.com/involvex/happy-vibecode/tree/main/.agents/skills/firebase-app-hosting-basics
Command: npx skills add https://github.com/involvex/happy-vibecode --skill firebase-app-hosting-basics-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines deploying and managing modern full-stack web applications (Next.js, Angular, etc.) to Firebase App Hosting so teams can use SSR/ISR, secure secrets, and automated rollouts without manual Cloud Run wiring.

Core Features & Use Cases

  • Deploy from source: Configure firebase.json and apphosting.yaml to deploy a framework-backed app using firebase-tools.
  • Secrets & permissions: Use Cloud Secret Manager integration and CLI commands to provision and grant access to secrets required at build or runtime.
  • CI/CD and rollouts: Support automated GitHub-backed deployments, manual rollouts, and backend management for staged releases.
  • Local testing: Emulate App Hosting locally with the Firebase Local Emulator Suite to validate env vars and builds before production deploys.

Quick Start

Deploy a Next.js or Angular app by adding an apphosting block to firebase.json, creating apphosting.yaml, setting required secrets with firebase-tools, and running npx -y firebase-tools@latest deploy.

Frequently Asked Questions about firebase-app-hosting-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Next.js or Angular app with SSR to Firebase App Hosting?

Deploy SSR frameworks to Firebase App Hosting by adding an apphosting block to firebase.json, creating an apphosting.yaml file, and running npx firebase-tools deploy. This configures backend Cloud Run automatically for full-stack web applications.

Do I need the Firebase Blaze plan to use App Hosting?

Yes, Firebase App Hosting requires a Firebase project on the Blaze billing plan. This paid billing tier is a prerequisite because App Hosting provisions and manages backend Cloud Run instances for your deployments.

Can I test App Hosting builds locally before deploying to production?

Yes, you can emulate App Hosting locally using the Firebase Local Emulator Suite. This allows you to validate environment variables and build configurations before deploying your Next.js or Angular application to production.

How do I manage build secrets for Firebase App Hosting deployments?

Manage build and runtime secrets for App Hosting using Cloud Secret Manager integration. You can provision and grant access to required secrets through specific firebase-tools CLI commands before running your rollout.

Does Firebase App Hosting support automated GitHub rollouts?

Yes, Firebase App Hosting supports automated GitHub-backed deployments and manual rollouts. You can manage backends and staged releases directly through the firebase-tools CLI.

What is the best way to configure ISR and environment variables for Firebase App Hosting?

Configure ISR and environment variables by defining settings in your apphosting.yaml file. This ensures the App Hosting backend correctly provisions Cloud Run to handle dynamic rendering and variable injection.