Skip to content
Source code of the book Pure functional HTTP APIs in Scala.
Scala
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
impure
jmeter
manuscript
pure
tapir
.gitignore
.scalafix.conf
.scalafmt.conf
.travis.yml
AUTHORS.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
NOTICE
README.md

README.md

Pure functional HTTP APIs in Scala

Build Status

This repository contains the source code for the book "Pure functional HTTP APIs in Scala" which is available on Leanpub: https://leanpub.com/pfhais

Structure

The folder manuscript contains the book source code and other resources like images. The service implementations are placed in the folders impure and pure. Within the folder tapir you can find the pure implementation which uses the tapir library for a typed API design.

Build Tooling

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 sbt shell.

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. tapir).

Copyleft Notice

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.

Code Coverage

codecov

You can’t perform that action at this time.