This project was bootstrapped with Create React App.
- Create a
.env
file in the project's root directory. Add this line of codeREACT_APP_CUSTOM_MESSAGE="Local environment"
into the file. - In the project directory, you can run:
npm start
- Thsi runs the app in the development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.You will also see any lint errors in the console.npm run build
- This builds the app for production to thebuild
folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. Your app is ready to be deployed!
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify