Home - waterdog-oss/ktor-template GitHub Wiki
The ktor template is a simple, production-ready collection of libraries and best practices that streamline the development of KTOR based REST APIs. This is a highly opinionated approach optimized for the kinds of problems we usually deal with at Waterdog.
Motivation
Why do this when there is something like https://start.ktor.io/? We wanted to capture and standardize our internal approaches to several recurring problems, like how to handle errors, providing the required features to feed a data grid from a list of objects coming from some database, setting up a proper health check endpoint.
Features
The backend template provides the following features out-of-the-box:
1 - Error handling
4 - Integration with SQL databases + database migrations
5 - CI/CD build files for Github actions and Bitbucket pipelines
6 - Configuration management