Full source code is available on GitHub.
This post is about creating relatively simple project with Freestyle, my adventures during this process and some afterthoughts.
Self-description from the project website: Freestyle is a library that enables the building of large-scale modular Scala applications and libraries on top of Free monads/applicatives. 
I’m limited to single blog post, so I’ll make non-trivial-scale application instead of large-scale one. Precisely it is a module to perform registration and log in with credentials or GitHub’s OAuth 2.0 and http4s server that uses this module in
HttpServices (endpoints) for issuing JWT.
This article describes my journey and feelings during it, so it is written in the first person and past tense. Read more