A simple, clean, and responsive Weather Application that fetches real-time weather data using the OpenWeather API. This was built as a college project, using Spring Boot (Backend) and HTML/CSS/JS (Frontend).
π Live Demo (Frontend Only): π https://karthiknvd.github.io/weather-application/
β οΈ Note: GitHub Pages only hosts static files, so the Spring Boot backend will NOT work on the live site. Only the frontend UI is visible on GitHub Pages. To use the backend, run the project locally.
- π€οΈ Real-time weather updates
- π Search weather by city name
- π Temperature, humidity, and wind details
- π Clean and user-friendly UI
- β‘ Fast API response using OpenWeather
- π₯οΈ Frontend + Backend (Spring Boot)
- HTML5
- CSS3
- JavaScript
- Spring Boot
- Java
- REST Controller
- API Integration with OpenWeather
- π OpenWeatherMap API
- User enters a city name
- Frontend sends a request to the Spring Boot backend
- Backend calls OpenWeather API with the API key
- JSON weather data returns
- Frontend displays the weather details
git clone https://github.com/karthiknvd/weather-application.git
Run the Spring Boot application:
mvn spring-boot:run
Inside application.properties (or wherever you used it):
openweather.api.key=YOUR_API_KEY
Your weather app will now work fully with backend support.
GitHub Pages link: https://karthiknvd.github.io/weather-application/
β οΈ As mentioned, backend features wonβt work here because GitHub Pages does not support Java/Spring Boot servers.
weather-application/
βββ backend/ # Spring Boot project
βββ frontend/ # HTML, CSS, JS files
βββ README.md
βββ ...
This project is for educational purposes and free to use.