Skip to content

Weather forecast cache for specific locations at specific time.

Notifications You must be signed in to change notification settings

denysbiliaiev/ForecastCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Weather forecast cache for specific locations at specific time.

Run project

  • Run redis docker container:
    docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
    
  • cd ~/forecast_cache
    mvn compile
    
    mvn exec:java -Dexec.mainClass=org.example.ForecastCache
    
  • Display cached data: http://localhost:8001/redis-stack/browser

REST API endpoints for interacting with the forecast cache.

Improvements

  • Test coverage
  • Put hard coded string in the environment variables
  • Optimize http traffic (request frequency)
  • Optimize forecast search in time series
  • Add health check api.met.no
  • Check api.met.no response status
  • Add logging
  • Add application health check endpoint
  • Containerize an application

About

Weather forecast cache for specific locations at specific time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages