Pure functional HTTP APIs in Scala
This repository contains the source code for the book "Pure functional HTTP APIs in Scala" which is available on Leanpub: https://leanpub.com/pfhais
manuscript contains the book source code and other resources
like images. The service implementations are placed in the folders
pure. Within the folder
tapir you can find the pure
implementation which uses the tapir library
for a typed API design.
All project modules can be compiled, run and tested via sbt.
Just open a terminal in the desired folder (e.g.
pure) and start the
If you are using the IntelliJ IDEA development environment then you will
need to install the Scala plugin for it. Afterwards you should be able to
create IDEA projects by using the "Import Project" feature and point it to
the desired folder (e.g.
This book uses the Creative Commons Attribution ShareAlike 4.0 International (CC BY-SA 4.0) license. The code snippets in this book are licensed under CC0 which means you can use them without restriction. Excerpts from libraries maintain their license.