To install Node Modules:
npm install
To run the application:
npm start
-
You first need to install firebase tools:
npm install firebase-tools -g
-
Now you need to create a project with firebase. Click this link and login
-
Now click this link and select "create a project". You can name your project whatever you want. Be sure to enable google analytics and choose your default account for firebase and continue.
-
Login to Firebase on your console. This will open up a new window to login with the account you used to create the project:
firebase login
-
To setup firebase within your source code:
firebase init
-
Navigate down to hosting then click using an existing project and click the name of the project that you created earlier. For your public directory you need to choose your build folder to make your website more optimized and you want to configure your website as a single-page app.
-
Now type the following commands to finish the hosting setup:
npm run build
firebase deploy