Skip to content

Sawantaviraj2/WeatherApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

WeatherApplication

profileimg

Build a Weather App that lets users check weather conditions in specific locations. Create a responsive UI using a front-end framework (e.g., HTML,CSS,JS) and develop a back-end API (e.g., JAVA,Spring Boot,MySqlDatabase) to fetch weather data. Connect them with HTTP requests, thoroughly test the app.

Tech Stack

Java | Hibernate | Spring Boot | Spring Framework | Spring Data JPA | Spring Boot Validation | Spring Boot Web | Spring Boot DevTools| Postman | MySQL Database | Maven | Swagger UI | Lombok | HTML | CSS | JavaScript | Swagger

Modules

  • WeatherData Module

Prerequisites

  • Java 8 or higher
  • Maven
  • MySQL Server

Our Application πŸͺ„

This application aims to make it easier and more convenient for citizens to get Weather Data information. It provides an online platform to get information on the weather.

Front-End-Pages

Home Page

homePage

Add Weather Data

addwhether

Update Weather Data

updateWhether

Get All Weather Data

getallWhether

Get Weather Data By ID

getWhetherbyId

Get weather Data By Location

getWhetherbyLocation

Delete Weather Data By ID

deleteWhetherbyid

( Back πŸ”™ )( Restart πŸ” )

Screenshots From SWAGGER πŸ“Έ

whetherSwagger

( Back πŸ”™ )( Restart πŸ” )

Schemas πŸ“Œ

weatherData Schema

schemas

( Back πŸ”™ )( Restart πŸ” )

Installation and Execution Instructions βš™οΈ

Follow these steps to set up and run the project locally:

  1. Open the application.properties file located in the src/main/resources directory.

  2. Configure your MySQL database credentials by replacing the placeholders with your actual information:

    spring.datasource.url=jdbc:mysql://localhost:3306/your-database-name
    spring.datasource.username=your-username
    spring.datasource.password=your-password
  3. Build the project using Maven by executing the following command:

    mvn clean install
    
  4. Once the build is successful, navigate to the target directory and execute the JAR file using the command:

    java -jar target/decisive-iron-5903-0.0.1-SNAPSHOT.jar
    
  5. The application will be up and running locally at http://localhost:8088.

API Endpoint Information

Root Endpoint:

  • HTTPS: https://localhost:8088/

Swagger API Documentation:

These instructions will guide you through the process of setting up and launching the project locally. If you encounter any issues, please refer to the provided steps or seek assistance from your technical team.

Collaborators πŸ‘¨β€πŸ’»

Screenshot 2023-08-27 145829

( Back πŸ”™ )( Restart πŸ” )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published