Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Serverless Web Applications with React and Firebase

You're reading from   Serverless Web Applications with React and Firebase Develop real-time applications for web and mobile platforms

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788477413
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Harmeet Singh Harmeet Singh
Author Profile Icon Harmeet Singh
Harmeet Singh
Mayur Tanna Mayur Tanna
Author Profile Icon Mayur Tanna
Mayur Tanna
Arrow right icon
View More author details
Toc

React and Firebase setup with Node.Js

Earlier, we created a React application with plain JavaScript; now we need to do the same with React and Firebase setup with using node. For this, we must have Node.js and npm installed in our system; if not, first download the Node.js from https://nodejs.org/en/download/. Once you are done with the installation, run the following command to ensure that node and npm are installed properly:

For node, use this:

node -v

For npm, use the following:

npm -v

The output of the command should be as follows:

Now we need to install the create-react-app module, which provides the initial and default setup, and gives us a quick start to the React app. Run the following command in your CMD, and it will install the create-react-app module globally (that is, with -g or --global appended to the command):

npm install -g create-react-app 
or
npm...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image