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...