Skip to content

CSU-WebEngineering-Spr24/Group-7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Weather Api

For Running the project

Navigate to the project directory and run the following command

cd WeatherApi/src/main/react

Then use the following command to build

npm run build

Then navigate to the project root directory and run the following command

mvn clean install

Then navigate to the target directory and run the following command

mvn spring-boot:run

Project Details

This project is a weather api which uses the weatherbit api to get the weather details. The project is built using java spring boot and react. The project is built using the following technologies:

  • Java Spring Boot
  • React
  • Weatherbit Api

Project Structure

The project is divided into two parts:

  • Backend
  • Frontend

The backend is built using java spring boot and the frontend is built using react. The backend is responsible for fetching the weather details from the weatherbit api and the frontend is responsible for displaying the weather details.

Backend

The backend is built using java spring boot. The backend is responsible for fetching the weather details from the weatherbit api. The backend has the following classes:

  • WeatherController
  • WeatherService
  • Weather

The WeatherController class is responsible for handling the requests and responses. The WeatherService class is responsible for fetching the weather details from the weatherbit api. The Weather class is a model class which represents the weather details.

Frontend

The frontend is built using react. The frontend is responsible for displaying the weather details. The frontend has the following components:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors