firebase-app-hosting-basics

Deploy and manage full-stack Next.js and Angular apps with Firebase App Hosting.

2|Updated Mar 7, 2025
One-click install
npx skills add https://github.com/AbdelrhmanUZaki/KnowledgeNuggets --skill firebase-app-hosting-basics-abdelrhmanuzaki
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: firebase-app-hosting-basics
Source: https://github.com/AbdelrhmanUZaki/KnowledgeNuggets/tree/main/2-setup/shared/gemini/config/plugins/firebase/skills/firebase_app_hosting_basics
Command: npx skills add https://github.com/AbdelrhmanUZaki/KnowledgeNuggets --skill firebase-app-hosting-basics-abdelrhmanuzaki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools, and includes references (resource) components.

What problem does it solve? Deploying full-stack web applications with server-side rendering requires complex infrastructure setup. This Skill guides you through deploying Next.js and Angular apps to Firebase App Hosting with minimal configuration. ## Core Features & Use Cases - Deploy from Source: Configure firebase.json and apphosting.yaml, then deploy directly using the Firebase CLI. - Secrets Management: Set and grant access to sensitive keys using apphosting:secrets commands. - CI/CD via GitHub: Connect a backend to a GitHub repository for automated git-push deployments. - Local Emulation: Test your app locally with the Firebase Local Emulator Suite before deploying. - Use Case: You have a Next.js app with SSR and want zero-config git-push deployments on Firebase's Blaze plan. ## Quick Start Deploy my Next.js app to Firebase App Hosting using the Firebase CLI.

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 app to Firebase App Hosting?▼

Configure an apphosting block in firebase.json with your backendId and rootDir, create an apphosting.yaml file, then run npx firebase-tools deploy. Your Firebase project must be on the Blaze pricing plan.

Firebase Hosting vs App Hosting: which should I use?▼

Use Firebase Hosting for static sites and simple SPAs without SSR. Use App Hosting for full-stack frameworks like Next.js or Angular that need server-side rendering, ISR, or automated git-push deployments.

Does Firebase App Hosting require the Blaze plan?▼

Yes, App Hosting requires your Firebase project to be on the Blaze pay-as-you-go plan. You can upgrade through the Firebase console billing page before deploying.

How do I manage secrets in Firebase App Hosting?▼

Use the npx firebase-tools apphosting:secrets commands to set secrets and grant your backend access to them. This keeps sensitive keys out of your source code and configuration files.

Can I test my App Hosting app locally before deploying?▼

Yes, you can test locally using the Firebase Local Emulator Suite. The skill's emulation reference explains how to run and validate your app in the emulator before deploying to production.