$ git clone https://github.com/josephrstraub/weather.git
$ yarn install
- Create a GCP project.
- Create API credentials.
- Enable the Maps, Geocoding, and Places APIs.
- Ensure the enabled APIs are also enabled for your created key.
SKIP_PREFLIGHT_CHECK=true
REACT_APP_GOOGLE_API_KEY=<your-google-api-key>
REACT_APP_OPEN_WEATHER_MAP_API_KEY=<your-open-weather-api-key>
"extra": {
"apiKeys": {
"google": "<your-google-api-key>",
"openWeatherMap": "<your-open-weather-api-key>"
}
}
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=<your-google-api-key>&libraries=places"></script>
$ yarn run <ios|android|web>