ktor
apollo-android
Our great sponsors
ktor | apollo-android | |
---|---|---|
48 | 9 | |
12,223 | 3,665 | |
1.5% | 0.7% | |
9.5 | 9.7 | |
5 days ago | 5 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ktor
-
Creating a Ktor Server with Gradle and SDKMAN!: A Step-by-Step Guide
Ktor, a powerful web framework built with Kotlin, offers a lightweight and flexible solution for building web applications. In this article, we will guide you through the process of creating a Ktor project manually using Gradle and SDKMAN!. By following the steps below, you'll have a basic Ktor project up and running in no time.
-
Spring MVC vs Django vs RoR vs some Kotlin Framework?
take a look at http4k and ktor for Kotlin specific frameworks Spring has first class support for Kotlin e.g. the following will give you reactive HTTP endpoints when using spring-webflux (this is what is use at work):
- Your recommendations for backend?
-
What are good examples of well written code in Kotlin (e.g HTTP4K)
Ktor (Microservices framework by JetBrains)
-
Akka-HTTP in android
For Android you should use a more mobile friendly framework like Retrofit or if you use Kotlin you can use the multi-platform Ktor library with it's client module
-
Anyone here who uses compose-multiplatform for desktop apps, what’s your feedback?
And last but not least, Ktor Client as our HTTP client. https://ktor.io/ It's a pretty amazing http client library and integrates well with Kotlinx serialization and Coroutines.
-
Which JVM Language Would You Choose for a New Server-Side Project?
Kotlin is going to be great with almost every single JVM server. Spring works well with Kotlin, and is directly supported, but spring is also massive, very bloated. I recommend looking at https://github.com/ktorio/ktor which continues to serve all of my needs very well, integrates fantastically with Kotlin coroutines, and has very fast startup time and very good performance.
-
Exposed RSQL Search Implementation
For the sake of the test, we use Ktor - the easiest way to do so is to use initializer.
-
Learning materials for Spring Boot and/or Quarkus
I know you are looking for Spring Boot and/or Quarkus, but have you tried ktor. Just curios if you had a particular reason for choosing the other 2. Disclaimer: I haven't used ktor.
-
Tech-stack for web application using Kotlin?
Check https://ktor.io it's from JetBrains and amazing.
apollo-android
-
Migrating Netflix to GraphQL Safely
GraphQL queries are just HTTP POST queries with a JSON body. They're supported everywhere.
If you want specialized tooling for them, Kotlin and Swift both have great strongly-typed GraphQL libraries.
Apollo publishes libraries for both:
- https://www.apollographql.com/docs/kotlin/
- https://www.apollographql.com/docs/ios/
-
How to build a Snowflake API?
An example of a Snowflake API request using Java. This example uses Java’s built-in HttpClient and constructs JSON manually, so it doesn’t require additional dependencies; however, in production, you should use a library like Jackson for constructing JSON. Additionally, for stronger typing, you could use Apollo’s Kotlin-based GraphQL client.
-
Converting union type to Kotlin (Apollo GraphQL library)
Can you elaborate on what you are trying to do? Why do you generate those classes manually? If you are using Apollo Kotlin then it will generate your data classes based on your query.
-
Migrating Android to GraphQL Federation
We continue to rely on Apollo Kotlin (previously Apollo Android) as we migrate to Federation. It has evolved quite a bit since its creation and has been hugely useful to us, so it’s worth highlighting before jumping ahead.
-
Flutter vs Kotlin Multiplatform Mobile (not a holywar)
- found Flutter graphql is way ahead , even almost mature as Apollo for JS. apollo-kotlin is several miles behind, a lot of issues, absolutely inconvenient usage after graphql-flutter
- Java Spring Boot DTO Mapping in GraphQL
-
Introducing Apollo Kotlin
The announcement is at https://www.apollographql.com/blog/announcement/introducing-apollo-kotlin/ and the repo at https://github.com/apollographql/apollo-kotlin. Try it out and let us know what you think!
-
GraphQL - Diving Deep
Apollo Client does have a good integration with these frameworks including React, iOS and Android — so, you might want to check that out
-
Any good java graphql client suggestions ?
Hi 👋Martin from https://github.com/apollographql/apollo-android here. Can you ellaborate more on "created schema files are not serialized" ? For Android app, I usually recommend separating the persistence layer and the network models so that they're not coupled. But maybe it's different from a microservice?
What are some alternatives?
Quarkus - Quarkus: Supersonic Subatomic Java.
GraphQL Kotlin - Libraries for running GraphQL in Kotlin
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
vertx-lang-kotlin - Vert.x for Kotlin
hexagon - Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of services (Web applications or APIs) that run inside a cloud platform.
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
KGraphQL
Jooby - The modular web framework for Java and Kotlin
kotlinx.html - Kotlin DSL for HTML