Skip to content

Commit 86f9948

Browse files
committed
add a page about the IDE
1 parent 70010d8 commit 86f9948

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

Writerside/doc.tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<toc-element topic="scalars.md"/>
1515
<toc-element topic="execution-context.md"/>
1616
<toc-element topic="persisted-documents.md"/>
17+
<toc-element topic="ide.md"/>
1718
<toc-element topic="schema-dump.md"/>
1819
</toc-element>
1920
<toc-element toc-title="Integrations">

Writerside/topics/ide.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# GraphQL IDE
2+
3+
One of GraphQL strong points is tooling.
4+
5+
Apollo Kotlin Execution comes with a built-in IDE that makes it easy to explore your schema and debug your operations.
6+
7+
You can get a ready-to-serve version of [Apollo Sandbox](https://studio.apollographql.com/sandbox/explorer/) using the `sandboxHtml()` function:
8+
9+
```kotlin
10+
val pageTitle = "Welcome to my API"
11+
val initialEndpoint = "http://localhost:8080/graphql"
12+
13+
sandboxHtml(title = pageTitle, initialEndpoint = initialEndpoint)
14+
```
15+
16+
[![Apollo Sandbox](sandbox.png)](http://localhost:8080/sandbox/index.html)
17+
18+
You can then serve it using your favorite server or use any of the existing integrations:
19+
20+
* [Spring](spring.md)
21+
* [Ktor](ktor.md)
22+
* [http4k](http4k.md)

0 commit comments

Comments
 (0)