You'll need a Dark Sky API key to run the app locally.
Do the following to add an API key:
- Create a new file called config.json inside the src folder
- Copy and paste the contents of config.example.json into config.json
- Replace the value assigned to API_KEY in config.json with your Dark Sky API key
- Save config.json
Please see the Configure API Key section before starting the server.
Do the following to run the app in development mode:
- Open your terminal
- Run
yarn start - 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.
Please see the Configure API Key section before starting the server.
Do the following to launch the test runner in the interactive watch mode:
- Open your terminal
- Run
yarn test - Press a to run all tests
This project was bootstrapped with Create React App.