How To Install ReactJS and project setup

Today now in this blog , i will show you about how to basic setup of ReactJS project. And we also know how to install ReactJS also with step by step. ReactJS is develop by facebook engineer. Here we know that ReactJS is a javascript frontend library. We know that React has component based architecture for application development.

We know that ReactJS first develop by jordan walke. and also ReactJS first version release on may 29, 2013. So Right Now it is maintained by facebook and it also play with virtual DOM.

We know that this is very fast due to virtual DOM so that’s why react js more popular to the other Framwork and also library. So react js work with only user interface it can not direct connect to database it’s connect with API’s.

This is the following step to install ReactJS…

Install Node.js

At first we need to install nodejs in our system. So we can also work without nodejs but we have to do more setting in our system. we can install node js from here So after install we have to check then fire this command “node -v”.

Command for ubuntu only….

sudo apt-get update
sudo apt-get install nodejs

Install NPM

Command for ubuntu only….

sudo apt-get install npm

Create React App

Now in this step we need to get basic setup of reactjs. When we fire following command then it will create one project with “blog-react” name. So in this folder we have multiple folders and files.

npx create-react-app blog-react

Run React App

Now you can run reactjs app or project then we have to run following command.

npm start

Read Also : Laravel 8 Eloquent Global Scope Tutorial Example

I hope it will help you. Also you can follow us on Facebook


About Shahriar Sagor

My name is Shahriar sagor. I'm a developer. I live in Bangladesh and I love to write tutorials and tips that will help to other Developer's. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by Shahriar Sagor →