I need to build REST API for my services and I am new to Scala
. I have come to know of finatra
and akka-http
. After studying for a while, I am more inclined towards finatra
as it offers java-style
syntax and methodology for web services. However, akka
has a very close knit relation to scala
and learning akka-http
at this point might help me in my scala
journey.
Any help is appreciated.
They are on very different levels, akka-http is mainly a http server / client with very raw implementation and finatra is framework with modules, dependency injection, you get an administration view and page, flags and configuration. Finatra is the way to go if you like to have a more functional library then have a look at Finch https://finagle.github.io/finch/