If you are wondering why Scala or why Akka HTTP... Well, there is a rising need for concurrent and distributed applications, which is why frameworks like Akka and languages like Scala are gaining momentum right now, and they fulfill those needs with little extra effort.
In this book we will build a RESTful API for a simple bookstore and learn in the way:
- How to set up database migrations using Flyway.
- Build our own directives and using them in the routing DSL.
- Authenticate users using JSON Web Tokens (JWT).
- Test our services using ScalaTest.
- Build a UI for searching books with Scalatags.
- Connecting to a currency API to allow the user to switch currencies when the books are displayed.
- All by using a Test-driven development (TDD) approach.
Sounds like a lot, right? Not really, we take an incremental approach, meaning that each chapter deals with different topics that we then build on in the next chapters to finally reach our goal, which is for you to be proficient in Akka HTTP.
See you inside. Cheers!