Welcome Guest! (App Version 5.16)

websitnero logo name

Creating a Project in React

Creating a new Project

As you have already installed the following items:

  • Node + NPM
  • Create-React-App package
  • VS-Code

Now, you can proceed forward to create your new Project.

Go to the folder or directory where you want to generate your project.

Then run the following command:

> create-react-app proj1

This will create a new project named "proj1". You can choose the name of project as per your wish.

Now, you need to go inside this project.

> cd proj1

Next, as all required files are already installed you just need to run the server.

> npm run start

This will start your server and now you may access your web page by going to the following url:

http://localhost:3000

From now on you can make changes to individual files and see the updated UI on the browser.

happy coding!

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.