Building application in Scala Cats

Introduction In this article, we’ll build a simple application using the Cats ecosystem. The application will expose a REST API for user management, including an OpenAPI documentation endpoint. Some endpoints will require JWT token authentication, also we’ll use the Bcrypt library to generate password hashes. We’ll demonstrate both unit testing and integration testing using testcontainers to run a Postgres database in Docker. The GitHub repository for this project is available here. ...

October 28, 2025 · 12 min · 2518 words · Me