Skip to content

HugoLi0213/React-Native-Weather-App

Repository files navigation

React Native Weather App

This is a simple weather application built using React Native. It displays temperature, relative humidity, and rain data for a specific location for the current day.

Features

  • Fetches weather data from an external API
  • Displays temperature, humidity, and rain data in a line chart format
  • Customizable chart styling
  • Responsive layout using ScrollView

Installation

To run this application locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies using `npm install' ,'npm install @react-native-picker/picker','expo install expo-location','npm install -g expo-cli'
  4. Run the app on your device or emulator using 'npx expo start` image

Usage

Upon launching the application, it fetches weather data for a predefined location from an external API. The data is then displayed in three separate line charts representing temperature, relative humidity, and rain.

Dependencies

This project utilizes the following dependencies:

API Used

This application fetches weather data from the Open-Meteo API, providing hourly temperature, relative humidity, and rain forecasts for a given location.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description or website provided.

Topics

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •