Skip to content

This is a small weather app using the Open Weather API, and is intended as a means to become more familiar with the React Native framework for cross platform mobile development.

Notifications You must be signed in to change notification settings

Saverton/WeatherApp

Repository files navigation

Weather App

Weather App is a basic Weather App built using React Native & TypeScript. It allows users to collect current weather data for any zip code in the US, thanks to the Open Weather API.

How to run

There is no public production build at the moment, but you may follow these steps to test the app on your machine.

Fork and clone the repository into your local device.

Refer to the React Native Docs to set up your React Native development environment with Expo Go. Ensure that you can run a template app on your browser, device emulator, or actual mobile device before continuing.

Retrieve an API key for free by signing up on Open Weather API. Once the key is activated, copy it and create a file in ~/assets/secret/ called apiKey.ts. Paste the following into that file, and be sure to replace {API KEY} with your own Open Weather API key.

export const API_KEY = '{API KEY}';

Save the project, and launch the development environment in the same way you launched the template app earlier.

Upcoming Features

  • Hourly forecast over the multiple days ☑
  • search by locale name
  • auto fetch based on current location ☑
  • air quality index measurements

Contributing

This is a small project for the purpose of practicing the use of React Native and TS. Raising issues is encouraged as needed, but no public contributions will be merged.

License

MIT

About

This is a small weather app using the Open Weather API, and is intended as a means to become more familiar with the React Native framework for cross platform mobile development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published