DEV Community


Posted on • Updated on

Starting a React App

How to start a React app:

The first thing to do is make sure to have Node.js and Node Packet Manager (NPM) installed on your system.

Then, run:

npx create-react-app example-app

Now, we can cd into the app directory.

cd example-app

Start the server by running npm start

Discussion (2)

iankduffy profile image
Ian Duffy

That a react app not a rails one.

stuxnat profile image
stuxnat Author

oops! thanks for pointing that out! Fixed it.