Deploying to Firebase Hosting

Learn to deploy a web application with Firebase Hosting.

After running the Firebase Hosting initialization command, Firebase automatically creates, or in our case, updates the firebase.json file to include our project’s hosting configuration. This file is required to deploy assets with the Firebase CLI because it lets Firebase know what files, folders, and settings on our directory are to be deployed to our Firebase project.

Deploy our application

We can deploy our application by running the Firebase deploy command below:

Get hands-on with 1200+ tech skills courses.