Adam Warski – Your HTTP endpoints are data, as well!

preview_player
Показать описание
Adam Warski
I am one of the co-founders of SoftwareMill, where I code mainly using Scala and other interesting technologies. I am involved in open-source projects, such as sttp, MacWire, Quicklens, ElasticMQ and others. I have been a speaker at major conferences, such as JavaOne, LambdaConf, Devoxx and ScalaDays.

Your HTTP endpoints are data, as well!

How would the code look like? What kind of operations can we perform, once our endpoints are represented as data? What do we gain? And do we loose anything? Is the resulting code readable?

In this live-coding talk we’ll implement a simple HTTP API from scratch, using Scala and the tapir library, which takes the approach described above. Basic Scala knowledge (or even no Scala knowledge at all) will be sufficient to follow.

Come and see how functional programming improves on the status quo and provides an elegant and flexible solution to an everyday problem!

Рекомендации по теме
Комментарии
Автор

Interesting approach to design api first.

shyam
Автор

Great stuff, do you have source code on GitHub ?

linhe