https://github.com/facebookincubator/create-react-app
Installation
npm install -g create-react-app
Create app
create-react-app my-app
cd my-app/
Start Server to see your app
npm start
Deployment
When you’re ready to deploy to production, create a minified bundle with
npm run build
Inside the directory
Inside that directory, you can run several commands:
npm start
Starts the development server.
npm run build
Bundles the app into static files for production.
npm test
Starts the test runner.
npm run eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd MyReactApp1
npm start