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

Опубликовано: 30 Сентябрь 2024
на канале: Rock the JVM
22,151
542

Blog post: https://blog.rockthejvm.com/http4s-tu...
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:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://rockthejvm.com/blog

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