Hacker News new | ask | show | jobs
by gavinray 1099 days ago
The "go-to" GraphQL server implementation varies based on language.

Here are the popular ones to my knowledge:

- Node.js: GraphQL Yoga + Fastify, Apollo Server

- Java/Kotlin: Netflix DGS (built on top of Spring Boot)

- Scala: Caliban, Sangria

- Python: Strawberry, Graphene Django

- C#: HotChocolate

  > "On the client side(for mobile), AFAIK iOS(Swift) and Android(Kotlin) does not support GraphQL natively?"
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/

3 comments

> Java/Kotlin: Netflix DGS (built on top of Spring Boot)

Is that really popular? I'd rather use graphql-kotlin (expedia), graphql spring (yes, recent Spring module), quarkus graphql (code 1st) or just about anything else than that...

> Node.js: GraphQL Yoga + Fastify, Apollo Server

Typegraphql is / was hugely popular; there's also an Express based Graphql server

Aside: there's also Rust and async-graphql

Apollo is also available for Elixir, where I have seen it much loved.
It appears that fastify can't keep their website up.
Apparently something got messed up with their cloudflare setup and the person with access is at a wedding or something.

https://twitter.com/fastifyjs/status/1670145210347577344?cxt...