Deploy your React js Application with firebase
- Create a Project on firebase from here "https://firebase.google.com/"
- Give your project to name https://prnt.sc/WfJkUXJBslv7
- Click on the continue button https://prnt.sc/ddDjEykOSJRE
- Select the Default Account for firebase and then click on create project button https://prnt.sc/GJLY9viHTC_m
--- After cloning this Repo run the following command:
- firebase login
- firebase init This firebase init command will ask few questions: a. (Which Firebase features do you want to set up for this directory), From the options, select the Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys b. (What do you want to use as your public directory?) build c. (Configure as a single-page app (rewrite all urls to /index.html)?) N d. (Set up automatic builds and deploys with GitHub?) N e. (File build/404.html already exists. Overwrite?) N f. (File build/index.html already exists. Overwrite?) N
- firebase deploy