Dyzio18 / weather-app

Weather API client - (Java, Spring MVC, MySQL, Hibernate, OpenWeatherMap)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather app

Weather client with store favorite city in DB and sending request to OpenWeatherMap API. You can save favorite cities in database. Application display weather from your city in panel.

What's inside

This project is based on the Spring Boot project and uses these packages :

Installation

The project is created with Maven, so you just need to import it to your IDE and build the project to resolve the dependencies

mvn clean install

Database configuration

Create a MySQL database with the name weather-app and add the credentials to /resources/application.properties.
The default ones are :

spring.datasource.url=jdbc:mysql://localhost:3306/weather-app
spring.datasource.username=root
spring.datasource.password=
spring.jpa.hibernate.ddl-auto=update

If you using Windows the easiest way is install XAMPP.

Usage

Run the project and head out to http://localhost:8080

About

Weather API client - (Java, Spring MVC, MySQL, Hibernate, OpenWeatherMap)


Languages

Language:HTML 86.2%Language:Java 12.3%Language:CSS 1.1%Language:JavaScript 0.5%