---
# System prepended metadata

title: Create a new React app .

---

# Create a new React app .
Create React App is the CLI based tool and is the best way to start building a new single-page application in React.

It sets up your development environment so that you can use the latest JavaScript features, provides a nice developer experience, and optimizes your app for production. You’ll need to have Node >= 14.0.0 and npm >= 5.6 on your machine.
## Quick Started 
```
npx create-react-app my-app
cd my-app
npm start
```
or you can used yarn instead of npm like : 
`yarn create react-app my-app`

## Output : 
my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   ├── favicon.ico
│   ├── index.html
│   ├── logo192.png
│   ├── logo512.png
│   ├── manifest.json
│   └── robots.txt
└── src
    ├── App.css
    ├── App.js
    ├── App.test.js
    ├── index.css
    ├── index.js
    ├── logo.svg
    ├── serviceWorker.js
    └── setupTests.js
    Runs the app in development mode. Open http://localhost:3000 to view it in the browser.
### npm test or yarn test
Runs the test watcher in an interactive mode. By default, runs tests related to files changed since the last commit.
### npm run build or yarn build
Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.
Your app is ready to be deployed. 
### Deployment your app 
by netlify or any hosted 

    