Introduction
Node.js is the best when it comes to community support and simplicity.
But, when it comes to the language itself and the builtin features, Yuk!
I was used to a lot of libraries in Node.js and that what held me from
going all in server-side Kotlin.
After the introduction of ktor and kgraphql, it was mongoose the only
library left to have an alternative in kotlin!
So, I thought I could make mongoose in Kotlin
The strategy
Building a database client from zero is tough!
So, our kotlin mongoose will depend on kmongo
Kotlin is totally different than typescript and type-unions
is not supported and not the kotlin way of doing stuff.
So, our kotlin mongoose will follow the design of kgraphql
What have been done
I already made a mongoose in kotlin (called it mangaka
)
I will publish it soon at GitHub - cufyorg/mangaka: A mongoose equivalent for kotlin
Whats next?
Kotlin mongoose (mangaka) is still in alpha stage and needs
a lot of testing and extra design thoughts and more built-in utilities
So, I need someone to test and think with me about it