Skip to content

quantifiedstudent/WeatherDataMicroservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Data Microservice

Setup Local Development Environment

  1. Install all dependencies using npm i
  2. Run the project with npm run start:dev

Get daily weather

Gets daily weather in Eindhoven for specified period of time.

http://localhost:7000/dailyWeather?startDate={startDate}&endDate={endDate} - API Route

Parameter Type Description
startDate Required string Specifies date of the first daily weather forecast.
endDate string Specifies date of the last daily weather forecast. Default is the date of sending request.

Example

http://localhost:7000/dailyWeather?startDate=2022-04-07&endDate=2022-06-15 - returns daily weather for time period between 2022-04-07 and 2022-06-15 http://localhost:7000/dailyWeather?startDate=2022-06-07 - returns daily weather for time period between 2022-06-07 and date of sending request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published