A simple weather app that gives information about current day weather based on user location, and also shows weather preview for next seven days.
yarn
or
npm install
yarn android
or
npm run android
In way to provide a better experience, i used these two APIs in order to get precisely the user location and fetch the weather data of the current location:
Both APIs can be used by getting a free API key by registering on their website.
To use your API keys, just place them in:
src\config\api.ts
And the file must be like:
const weatherKey = 'OpenWeather API Key';
const geolocationKey = 'OpenCage Geocode API Key';
export {weatherKey, geolocationKey};
yarn test
👤 Roberto Araújo
-
Github: @doravantebeto
-
LinkedIn: @doravante-beto