Skip to content

IDE

Galak comes with a built-in IDE that makes it easy to explore your schema, write your operation with autocomplete and execute them.

You can get a ready-to-serve version of Apollo Sandbox using the sandboxHtml() function:

val pageTitle = "Welcome to my API"
val initialEndpoint = "http://localhost:8080/graphql"
val html = sandboxHtml(title = pageTitle, initialEndpoint = initialEndpoint)
// Expose this graphql to your route of choice, /sandbox for an example
get("/sandbox") {
respondHtml(html)
}

Apollo Sandbox

The builtin integrations provide helper functions for this: