Skip to content

Uses MVC architecture in java to provide real time weather forecast.

Notifications You must be signed in to change notification settings

Anushkaghei/Weather-forecast-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Overview

The Weather Forecast Management System is a web application designed to provide live weather updates seamlessly. It follows the Model-View-Controller (MVC) architecture, ensuring a smooth user experience. Users can register, login, update profile, and access real-time forecasts worldwide.

How to Run

  1. Create your Weather API key and add it to weather.html in the placeholder provided

  2. Create a database in MySQL as 'weather_app' and a table in it as 'users'.

  3. Update your MySQL credentials such as username and password in the following files :

    • forecast/src/main/java/com/weather/util/DBConnection.java
    • forecast/src/main/resources/application.properties
    • forecast/target/classes/application.properties
  4. Build the package and run spring boot

mvn install package
mvn spring-boot:run
  1. access the application on localhost:8080

A Few Outputs

image

image

image

About

Uses MVC architecture in java to provide real time weather forecast.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published