You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/code/language-support/java-kotlin-android/server/kgraphql.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,27 @@
1
1
---
2
2
name: KGraphQL
3
-
description: KGraphQL is a Kotlin implementation of GraphQL. It provides a rich DSL to set up the GraphQL schema.
4
-
url: https://kgraphql.io/
5
-
github: aPureBase/KGraphQL
3
+
description: KGraphQL is a pure Kotlin implementation of a code-first GraphQL server with focus on a rich and easy-to-use DSL that leverages existing code to set up the schema.
4
+
url: https://stuebingerb.github.io/KGraphQL/
5
+
github: stuebingerb/KGraphQL
6
6
tags:
7
7
- tools-and-libraries
8
8
- backend
9
9
---
10
10
11
-
Here's an example on how to create a simple schema based on a kotlin data class plus a property resolver that gets applied onto your class.
11
+
Here's an example of how to create a simple schema based on a Kotlin data class plus a property resolver that gets applied onto your class:
KGraphQL is using coroutines behind the scenes to provide great asynchronous performance.
44
46
45
-
See [KGraphQL docs](https://kgraphql.io/Installation/) for more in depth usage.
47
+
See [KGraphQL docs](https://stuebingerb.github.io/KGraphQL/Installation/) for more in depth usage.
46
48
47
49
## Ktor Plugin
48
50
49
-
KGraphQL has a Ktor plugin which gives you a fully functional GraphQL server with a single [install](https://ktor.io/docs/zfeatures.html) function call. Example below shows how to set up a GraphQL server within Ktor and it will give you a [GraphQL Playground](https://github.com/graphql/graphql-playground) out of the box by entering `localhost:8080/graphql`.
51
+
KGraphQL has a Ktor plugin which gives you a fully functional GraphQL server with a single [install](https://ktor.io/docs/server-plugins.html#install) function call. The example below shows how to set up a GraphQL server within Ktor and it will give you a [GraphQL IDE](https://github.com/graphql/graphiql/tree/main) out of the box by entering `localhost:8080/graphql`.
50
52
51
53
```kotlin
52
54
fun Application.module() {
@@ -61,4 +63,4 @@ fun Application.module() {
61
63
}
62
64
```
63
65
64
-
You can follow the [Ktor tutorial](https://kgraphql.io/Tutorials/ktor/) to set up a KGraphQL server with ktor from scratch up.
66
+
You can follow the [Ktor tutorial](https://stuebingerb.github.io/KGraphQL/Tutorials/ktor/) to set up a KGraphQL server with Ktor.
0 commit comments