Generating a React project

Perform the following steps to learn how to create a React project:

  1. Similarly to the Angular CLI, React has its own application scaffold generator, Create React App. You can generate a new project by running the following command:
npx create-react-app integrate-react
  1. You should see the following output:
Success! Created integrate-react at <path>/integrate-reactInside that directory, you can run several commands: yarn start Starts the development server. yarn build Bundles the app into static files for production. yarn test Starts the test runner. yarn 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 ...

Get Electron Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.