We built a server framework (<https://github.com/l...
# server
j
We built a server framework (https://github.com/lightningkite/lightning-server) that's been working out really well for us in production. However, I think adoption by others would be hampered by a few issues. One of the advantages of the framework is that it abstracts the common services servers depend on (database, cache, email, SMS, file systems) in a way that makes it really easy to both run your server locally for testing and deploy it to traditionally difficult targets (such as AWS Lambda / API Gateway). It also generates deployment terraform for you based on your server definition. If I broke out these service abstractions into a different library for use with Ktor and other libraries (like http4k), would anyone be interested?
The abstraction I'm the most proud of is the database abstraction, which allows you to use simple KotlinX serializable data classes as your database models instead of some DSL for forming tables.