Welcome to the Weather App! This is a React Native project created with Expo that provides current weather, upcoming weather forecasts, and city information.
The Weather App is designed to provide users with up-to-date weather information, including current weather conditions, upcoming weather forecasts, and detailed city information. The app uses the OpenWeatherMap API to fetch weather data.
- View current weather conditions
- View upcoming weather forecasts
- Detailed city information including population, sunrise, and sunset times
- Responsive design for different screen sizes
To get started with the Weather App, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/weather-app.git cd weather-app
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add your OpenWeatherMap API key:APIKEY=your_api_key_here
-
Start the app:
npx expo start
In the output, you'll find options to open the app in a:
- Development build
- Android emulator
- iOS simulator
- Web browser
- React Native
- Expo
- TypeScript
- OpenWeatherMap API
- React Navigation
- Moment.js
.
├── assets
│ ├── images
│ │ ├── icon.png
│ │ ├── splash.png
│ │ ├── adaptive-icon.png
│ │ └── clouds.jpg
├── components
│ ├── IconText.tsx
│ ├── ListItem.tsx
│ ├── RowText.tsx
│ └── Tabs.tsx
├── hooks
│ └── useGetWeather.ts
├── screens
│ ├── City.tsx
│ ├── CurrentWeather.tsx
│ └── UpcomingWeather.tsx
├── utilities
│ └── weatherType.ts
├── App.tsx
├── app.json
├── babel.config.js
├── package.json
├── tsconfig.json
└── README.md
Contributions are welcome! Please read the contributing guidelines first.
This project is licensed under the MIT License.