Categories

Thursday, March 28, 2024
#919814419350 therichposts@gmail.com
Reactjs

Install Reactjs easy and simple

Install Reactjs easy and simple

Hello, welcome to therichpost.com. In this post, I will tell you, How to install reactjs on your local machine in easy and simple manner?  Reactjs is a Javascript Library to build user interface. Now I am also learning Reactjs these day because of my passion to learn new things.

In this post, we will see, how to install reactjs app on our local server:

First make sure, you have nodejs installed on your system because we will run and install reactjs with npm commands.

here is the url from where, you can install nodejs on your system:

https://nodejs.org/en/
After, Install nodejs, here are the steps to install reactjs app on your local machine:
1. create a empty folder in your C-drive named 'reactapp'

2. open your command prompt and go to 'reactapp' folder and run below command:

npm install -g create-react-app

3. After run the above command wait for some time and after successfully installed files, you need to run below command in 'reactapp' folder:

create-react-app helloreact

4. After run above command wait to sometime and you will below files structure in your 'reactapp' folder:

reactjs-app-file-structurea

 

5.  After it, in your command prompt, go to 'helloreat' folder and run below command:

npm start

6. After run ablove command, you will see http://localhost:3000/ url and copy and run this url into your browser and you are done.

reactjs-app-running

if you have any query related to this post then please comment below.

therichpost
the authortherichpost
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know WordPress, Core php, Angularjs, Angular 14, Angular 15, Angular 16, Angular 17, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.

3 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.