MENU

Fun & Interesting

Http4s Scala Tutorial: Writing an HTTP Server with Purely Functional Scala

Rock the JVM 23,175 lượt xem 3 years ago
Video Not Working? Fix It Now

Blog post: https://blog.rockthejvm.com/http4s-tutorial/
Http4s website: https://http4s.org

This video is a bit more complex than usual. Behold a comprehensive tutorial (more like a crash course, really) into one of the prominent HTTP libraries for Scala, Http4s.

In this video, we'll create a step-by-step REST application describing a movies database (a toy IMDB) and we'll showcase crucial aspects of the Http4s library, including

- creating routes
- matching paths
- matching query parameters
- supporting custom parsers and data types
- JSON payloads (encoding and decoding)
- composing routes
- starting a server
and more.

Follow Rock the JVM on:
LinkedIn: https://linkedin.com/company/rockthejvm
Twitter: https://twitter.com/rockthejvm
Blog: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------

Comment