Testing and deploying the application to the cloud

Now that we have a default application in place, run the command:

firebase serve

This will start and run a server on your local machine. The default port is 5000, so pointing your browser to http://localhost:5000 should show you this page:

If you see this, then that means that Firebase is running correctly.

Next, we will deploy this application to the cloud. Run the command:

firebase deploy

This seemingly simple command uploads our entire Firebase application to the cloud within a matter of seconds!

Navigate to the link presented at the end of deployment, and you should see your application running live on the Firebase platform.

Awesome! Now it's time to run our application the same way.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.181.21