/ForecastApi

Fetch the summary of forecast any city and also hourly summary of forecast

Primary LanguageJava

Forecast API with Oauth2Login

  • In this project all the forecast summary of any city with all details and also summary of hourly data also available.
  • This project is developed by me.

Functionalities

  • Github Authentication
  • Google Authentication

Backend Work

  • Proper Exception Handling
  • Proper fetch of rest API
  • User Authentication of github and google

Installation and Run

  • to run the application you have to create github/google oauthconfiguration
  • then you have to create client-id and client-secret code
  • replace the details in application.properties #Github Login spring.security.oauth2.client.registration.github.client-id={your client Id} spring.security.oauth2.client.registration.github.client-secret={your client secret} spring.security.oauth2.client.registration.github.redirect-uri={base URL}/login/oauth2/code/github

#Google spring.security.oauth2.client.registration.google.client-id={your client Id} spring.security.oauth2.client.registration.google.client-secret={your client secret} spring.security.oauth2.client.registration.google.redirect-uri={base URL}/login/oauth2/code/google logging.level.org.springframework.securty=TRACE

working URL

Tech Stacks

  • Java Core
  • Spring Boot
  • Spring Security

Backend

Home URL

image

Oauth Login

image

Google Authentication

image image

GitHub Authentication

image

Summary of forecast

image

Hourly summary of forecast

image