local-setupbranch in the repository
git clone -b local-setup <https://github.com/iamsainikhil/weather-react.git>
.envfile 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>](<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.
Launches the test runner in the interactive watch mode. See the section about
running tests for more information.
npm run build