12/21/2020, 11:41 AM
Hi, I hope this is the right place to ask - what is your go-to template for quickly building a standard REST API using Ktor? Are there any publicly available ones, are you re-using code from past projects or are you always starting from scratch? The reason is that I'm looking for something that has the most common use cases of REST APIs for mobile apps covered and can be extended. i.e.: built-in DB setup, User signup/login/authentication/password-reset, ... There are a lot of templates available in the PHP/NodeJS/Python/Ruby world but I haven't found anything good for server-side Kotlin yet.


12/21/2020, 2:38 PM
If you mean templates as in gradle configs, I find the IntelliJ Ktor generators to be pretty full featured. It doesn't take it further than wiring into the server the various components though.