Skip to content

bkunyiha/simple-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-weather-app

Simple Weather App

Technical stack

  • cats and cats-effect: basic functional blocks as well as concurrency and functional effects
  • circe: JSON serialization library
  • http4s: functional HTTP server and client built on top of fs2
  • log4cats: standard logging framework for Cats

Running And Testing Locally

cd simple-weather-app sbt run

Api endpoint

curl http://localhost:8080/weather/lat/39.7456/lon/-97.0892

This is just a simple one route service that queries the National Weather Service API(https://www.weather.gov/documentation/services-web-api) and returns the weather for the day short forecast(eg Cloudy, Sunny etc) and a characterization of the temperature(hot, cold or moderate)

Its just a howto and not what one would consider production code as its missing the following

  • Needs more tests
  • Config Service
  • Build process
  • API documentation eg using Swagger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages