Hi ! I created a project with ktor server. I have a frontend with typescript. I’m looking for a solution to share API data between projects.
My idea is to create a module in my ktor project which contains data class (using kotlinx.serialization) and API call (using ktor client).
I want to generate the API calls for my frontend in typescript. Can I do that with MPP ? Do you have some links, tips ?
Ok, I almost succeed it. I have a module with my data classes configured with MPP. I failed to generate JS code because I use enum classs.