This is a simple weather app built using React Native. It fetches data from the OpenWeather API (free version) and displays it to the user.
- Obtain an API key from OpenWeather.
- Create a file
keys.js
in the root folder. - Enter 1 line into keys.js:
export const API_KEY = '[YOUR API KEY]'
- From terminal, start project via Expo:
npm start
- Create a Google Cloud project.
- From the API screen, enable the Maps Static API.
- From the Credentials screen, create new credentials / obtain API key.
- Add line to keys.js:
export const MAPS_API_KEY = '[YOUR GOOGLE API KEY]'