local-setup
branch in the repositorygit clone -b local-setup <https://github.com/iamsainikhil/weather-react.git>
npm install
.env
file in the root directory of the project. Add the following properties in it:REACT_APP_DARKSKY_API_KEY=<your Dark Sky API Key> (Required)
In the project directory, you can run:
npm run start
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 test
Launches the test runner in the interactive watch mode. See the section about
running tests for more information.
npm run build