u/smlaccountin r/scala • Recommends
Tapir Tutorial - part 1: Hello, world! by Adam Warski
3.7K subscribers • 18 videos on Hallway
Beginner. No background in the topic needed.
2.2K views2 years ago1 recommendation
Web developmentProgramming languagesScalaAPI design
Adam Warski introduces Tapir, showing how to set up a Scala project and expose a simple HTTP endpoint.
Tapir: rapid development of self-documenting HTTP APIs How to start your adventure with Tapir? How can a functional programming language, such as Scala, benefit your daily work as a programmer? In the tutorial, we'll setup a simple project, and expose a single endpoint. You *should* try this at home :) RESOURCES * This tutorial as text: tapir.softwaremill.com/en/latest/tutorials/01_hello_world.ht… * Tapir on github: github.com/softwaremill/tapir * IntelliJ Scala Plugin: jetbrains.com/help/idea/get-started-with-scala.html * Metals for VSCode: scalameta.org/metals/docs/editors/vscode/ * scala-cli: scala-cli.virtuslab.org * sdkman: sdkman.io CHAPTERS Introduction Basic tools: text editor, java, scala-cli Adding dependencies Defining our app's entrypoint, using "endpoint" Endpoint inputs & outputs Printing the endpoint description Adding a query parameter Endpoints as data structures Adding server logic Starting an HTTP server Testing Summary ALL TUTORIALS PLAYLIST youtube.com/watch?v=WV1bZaGrdQQ&list=PL8NC5lCgGs6MnRHBdBNNWw…What people say. Recommended as an excellent starting point for learning Tapir and building type-safe APIs in Scala.
u/smlaccountin r/scala • Recommends