Weather App using Next js and Open Meteo's weather API

Solution retrospective
I’m most proud of building a complete and functional weather app within the hackathon timeline, especially features like search, geolocation, and unit switching. It was a great opportunity to apply what I’ve been learning and see it work in a real project.
Next time, I’d spend more time on UI/UX improvements, performance optimization, and code organization. I’d also like to explore adding more advanced features such as including UV index, visibility, and air pressure data to the app.
What challenges did you encounter, and how did you overcome them?Integrating the weather API and managing issues like invalid city names or unsuccessful calls were one of my challenges. By experimenting with the API, implementing error handling, and converting the data into a format that my components could utilise, I was able to resolve issue.
Geolocation presented another difficulty. Permission issues occasionally caused it to fail, so I added a fallback that allows users to search manually. This guaranteed that the application will always function independent of location access.
What specific areas of your project would you like help with?I would like feedback on how I can improve my code structure and best practices, particularly with regard to state management, hooks, and components. In addition, I'm looking for ideas on how to optimise efficiency such as managing API requests more effectively.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Toluwalope Adegoke's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord