https://github.com/aimarbustamante/weather-app
Web application where you can check the weather for various cities around the world with dynamic information fetched from an API.
https://github.com/aimarbustamante/weather-app
api axios axios-react cssmodules cssmodules-react react typescript vite weather weather-api weather-app web-app zod
Last synced: 2 months ago
JSON representation
Web application where you can check the weather for various cities around the world with dynamic information fetched from an API.
- Host: GitHub
- URL: https://github.com/aimarbustamante/weather-app
- Owner: AimarBustamante
- Created: 2024-07-20T00:11:22.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T00:26:29.000Z (10 months ago)
- Last Synced: 2025-02-01T18:12:09.430Z (4 months ago)
- Topics: api, axios, axios-react, cssmodules, cssmodules-react, react, typescript, vite, weather, weather-api, weather-app, web-app, zod
- Language: TypeScript
- Homepage: https://weather-app-004.netlify.app/
- Size: 1.65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌦️ Weather App

## 📖 Project Description
Weather App is a web application where you can check the weather for various cities around the world with dynamic information fetched from an API.## 🎨 Project Features
- **City Search**: Search for weather information in many cities around the world.
- **Current Weather**: View the current weather conditions including temperature and it's minimum and maximum temperature.
- **Error Handling**: Displays user-friendly error messages when there are issues with fetching data.
- **Responsive Design**: Optimized for both desktop and mobile devices.## 🚀 Technologies Used





## 📄 Additional Resources

- **Typography**: Utilized Google Fonts for the project's typography.
## 🌐 API Used
The API used for this project is [OpenWeather](https://openweathermap.org/).## 📚 What I Learned
This is the first project where I learned to securely consume an API, ensuring the JSON response matches the defined types. I also learned various methods to type API results, such as using Types, Type Guards, Zod, or Vailbot. While I am using Zod in this project, other methods are available in the code as examples. Additionally, I learned how to style the project using CSS Modules.## 🖼️ Screenshots

### Error message if user donsen't adds a city and country
### Error message if city donsen't exists
## 📬 Contact Information
[](https://aimarbusta.dev/)
[](https://www.linkedin.com/in/aimarbustamante/)
[](https://www.instagram.com/aimarbusta.dev/)
[](mailto:[email protected])
[](https://wa.me/65167602)
[](https://www.frontendmentor.io/profile/AimarBustamante)