Weather App
A weather dashboard with city search, hourly and daily forecasts, and unit preferences.
- Next.js
- React
- TypeScript
- Tailwind CSS
- Zustand

Problem
The challenge asked for a way to check the weather by city and show current conditions and forecasts, with initial location detection and unit preferences.
Role
I implemented the integration with Open-Meteo and ipapi, the unit state, and the responsive interface.
Decisions
- Two Open-Meteo services.
Geocoding turns the city search into coordinates, and the forecast API returns current, hourly, and daily conditions for those coordinates.
- Debounced autocomplete.
The search waits before calling the geocoding API so it does not send a request for every keystroke.
- Units in a Zustand store.
Temperature, wind, and precipitation share a preferences state, and the interface converts values for display in the selected unit.
- Dates and time zones.
Grouping the hourly forecast by day requires careful handling of dates and the time zone of each location before rendering the groups.
Result
The application starts with an approximate location, lets people search for cities, and presents conditions plus hourly and daily forecasts with configurable units and theme.