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.
- 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.
- Typography: Utilized Google Fonts for the project's typography.
The API used for this project is OpenWeather.
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.