Hey
Just listened to your first episode of the Web Series - looking forward to the next
I use reitit as my choice of framework. My use case is receiving GraphQL requests (just normal RESTful requests) as JSON, doing parsing etc.., business logic.
I'm quite a newbie at Clojure so it was quite a learning experience (I'm coming from (still use) Spring Boot with Kotlin, and that's super easy))
Very interesting. I'm curious as to why it is easier in Kotlin. Are there fewer choices? Does the community rally around one stack?
Not sure, but with Spring Boot it's as simple as adding a dependency at annotating one class. Writing a RESTful controller is again just annotating one class (with one annotation).
Create a Resource Controller
That's actually quite long winded, with Kotlin, it's a lot smaller codebase.
Here's an example I put together in 5 minutes
That is all that is required.
cool!
thanks for this example, I'll check it out and see if I can understand it
I've only read the main kotlin website page
but I have been meaning to learn it more thoroughly to understand why people like it
There is another library that we are looking to use
This is even more lightweight that Spring (a lot!)
So, yes, a barrier, but not an insurmountable barrier