9 - Setting up
Development environment
$ cd learn-react-by-example-file-io-app
$ cd react-app
$ mkdir server
$ npx create-react-app client
Creating a new React app in /Users/mayankc/Work/source/React-learning/learn-react-by-example-file-io-app/react-app/client.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
added 1425 packages in 2m
Installing template dependencies using npm...
added 62 packages, and changed 1 package in 2s
Removing template package using npm...
removed 1 package, and audited 1487 packages in 1s
6 high severity vulnerabilities
Success! Created client at /Users/mayankc/Work/source/React-learning/learn-react-by-example-file-io-app/react-app/client
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 client
npm start
Happy hacking!Server
Client or React



Last updated