Samuel OkaFrontend developer
Case File #03
Web Application

SEE WEATHER AROUND THE WORLD

Real-Time Global Weather Application

CASE FILE

#03

ROLE

Frontend Developer

TYPE

Web Application

See Weather Around The World - hero
01 - Overview

THE MISSION

A responsive weather application that allows users to search any city worldwide and view real-time weather conditions with dynamic visual changes.

02 - Problem

THE PROBLEM

Users need a fast and intuitive way to check weather conditions globally without navigating complex dashboards.

Before the solution
Spreadsheet chaos — 47 open tabs
Lost invoices — no audit trail
Missed payments — zero visibility
Frustrated freelancer — every time
03 - The solution

THE SOLUTION

Built a clean UI weather app that fetches real-time data from a REST API and dynamically updates the interface based on day or night conditions.

  • City search functionality
  • Real-time weather data
  • Dynamic day/night visuals
  • Local storage persistence
  • Responsive UI
04 - How i built it

HOW I BUILT IT

Step 01

Integrated Weather API

Step 02

Handled asynchronous API requests

Step 03

Implemented dynamic background themes

Step 04

Stored last searched city in localStorage

05 - Boss Battles

BOSS BATTLES

Battle #01

ROBUST API ERROR HANDLING

Bug Detected

Handling API errors and invalid city searches

Fixed

I implemented try-catch blocks around the API request and added conditional checks for response status codes. I also displayed user-friendly error messages when a city was not found or when the API key was invalid.

Battle #02

EFFECTIVE LOADING STATE MANAGEMENT

Bug Detected

Managing loading states

Fixed

I introduced a loading state using useState to track when data was being fetched. While the request was in progress, I conditionally rendered a loading indicator to improve user experience and prevent UI glitches.

06 - Mission Complete

MISSION COMPLETE

Accurate real-time weather updates

Persistent last searched location

Dynamic visual UI changes based on time

07 - Tools Used

TOOLS USED

React
Tailwind CSS
REST API
Vite
08 - Evidence

EVIDENCE

App screenshot 1
EXHIBIT 01
View Full

- End of Chapter#03

END OF
CHAPTER ?

“There's more to bulid.”

Prev Case FileSHOPOJA Next Case FileASTRO