
Jack Morgan's Digital Lab
Create Your First Project
Start adding your projects to your portfolio. Click on "Manage Projects" to get started
Weather App – Efficient and Reliable Weather Data
Project type
Web Application (Weather App)
Date
April 2022
Location
Wolverhampton
Video Demonstration
My weather app is a web-based application designed using service-oriented architecture and RESTful APIs to deliver real-time weather updates efficiently. The app fetches data from the OpenWeather API while optimizing performance through caching mechanisms implemented via a Mi-Linux server, PHP, and SQL databases. Instead of continuously querying the OpenWeather API, the app caches weather data every 10 seconds, reducing API costs and improving response times.
Users can access the most recent weather data even when offline, thanks to browser caching via Local Storage. This ensures that if the user loses internet access, they can still view the last retrieved weather data until a new update is available. The app has been optimized for high performance, achieving a near-perfect Lighthouse performance score of 100, ensuring fast loading times and smooth user interactions.
To enhance scalability and reliability, the app leverages stateless REST APIs, allowing it to support multiple users efficiently while ensuring continuous data availability. It features a clean and responsive user interface built with Bootstrap and JavaScript, providing an intuitive experience across different devices. By implementing an efficient caching system and optimizing HTTP request timings, my weather app significantly improves data accessibility, loading speed, and API cost management.







