Create-React-App is a utility script that:
- Creates a skeleton React project with a bunch of files and folders, already there for us, a bunch of settings configured automatically right out of the gate.
- Sets it up so that Js files are run throughout Babel automatically, so we dont have to do any configuration.
- Things that may not be implemented across all of the browsers, but we dont have to worry about that as much if we are using create-react-app.
- Makes testing and deployment much easier so we can create a build and deploy our applications from our command line in well, a matter of seconds.
NPM stands for Node Package Manager, a tool that you automatically get when installing Node.js. Which makes easy to menage third party packages and guess what create-react-app is one of them.
To create a project, run:
npx create-react-app my-app (this is the name of your application that you want to create)
npx on the first line is not a typo — it’s a package runner tool that comes with npm 5.2+.
Create React App doesn’t handle backend logic or databases, it just creates a frontend build pipeline, so you can use it with any backend you want. Under the hood, it uses Babel and webpack, but you don’t need to know anything about them.
Create react app official repository https://github.com/facebook/create-react-app
Here you will find installation instructions and a detail explanation what it does and how it works.