Skip to content

jusmrcrd/Weather-Tracks-Suggestion-Microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather-Tracks-Suggestion-Microservice

This microservice provides a playlist suggestion based on the current temperature of a given city or coordinates (latitude and longitude). The service integrates with a weather API to fetch the current temperature and suggests tracks according to predefined business rules. Business Rules

Above   30°C: Party tracks
Between 15°C and 30°C: Pop music tracks
Between 10°C and 14°C: Rock music tracks
Below   10°C: Classical music tracks

Features

Weather Information: Retrieves current temperature using a weather API.
Spotify Track Suggestion: Suggests a Track based on the temperature.
Caching: Weather data is cached using MySQL to improve performance and reduce API calls.

Technologies Used

Backend:
    Java
    Spring Boot
    RESTful API
Database:
    MySQL (used as a cache)

Getting Started Prerequisites

JDK 17
MySQL Server

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages