Tegral is a collection of reusable Kotlin components, like libraries and frameworks, that can be used by themselves or combined together to create back-ends apps with Tegral Web.
⚡ Tegral is in an alpha status. Please report any issue you may find!
class HelloController : KtorController() {
override fun Routing.install() {
get("/") {
call.respondText("Hello World!")
}
}
}
fun main() {
tegral {
put(::HelloController)
}
}
Each Tegral library is reusable and extensible. Pick the most suitable libraries for your project, or maybe even all of them for a full Tegral-based application.