How to add Web App to Firebase Project ?



Follow the steps to create Firebase Project for Web :

  1. Open your Firebase Project Console and click on </> button.
    Firebase project console
  2. Enter your app name and put tick in checkbox if you want to host your site on Firebase otherwise remain it untick and press Register app [ You can enable Hosting further even if untick it hear ]

    Register app on firebase 
  3. Add Firebase SDK to your project app to connect with firebase after downloading Firebase package.
  • Download Firebase package to your app. [Open project root directory in terminal and paste following code]
npm install firebase
  • Now add Firebase SDK Code to your project app.
    Firebase SDK
  • With the help of this code with can communicate with firebase and you can use its all services like Realtime Database, Firestore Database, Authentication and many more.

Related Post
Create project
How to Create Firebase Project ?
How to Create Firebase Project ?

1.Visit firebase.google.com 2.Create/Add Project 3.Enter project name 4.Hit continue

21 October 2024

Initialize app
How to Initialize Firebase for Web App ?
How to Initialize Firebase for Web App ?

1.Register App and get Firebase SDK 2.Add Firebase SDK to your app 3.Initialize it

21 October 2024

Register app
How to add Web App to Firebase Project ?
How to add Web App to Firebase Project ?

1.Open firebase project console & click on Web app icon 2.Enter app name 3.Click Register App button 4.Add SDK to your app

21 October 2024

Company
Explore

Copyright © 2024, All rights reserved by Firebase Master

We value your privacy

We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Allow", you consent to our use of cookies. Here is our Privacy Policy.