Skip to content
0:00 / 0:00

#http4s#catseffect#circe

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

Rock the JVM

27K subscribers • 59 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

24K views5 years ago1 recommendation

Web developmentProgramming languagesScalaHTTP, REST and GraphQLFunctional programming

A comprehensive guide to building a purely functional REST API in Scala using the Http4s library.

Blog post: blog.rockthejvm.com/http4s-tutorial/ Http4s website: 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: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: rockthejvm.com/blog ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------

Why it's here

1 person recommends this

What people say. Recommended as an excellent crash course on building functional HTTP services in Scala with Http4s.

u/danielciocirlanin r/scala • Recommends

Writing HTTP APIs with http4s