Skip to content

Commit 06005da

Browse files
committed
docs: serve graphiql
1 parent 1f03430 commit 06005da

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: README.md

+10
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,16 @@ const client = createClient({
264264
})();
265265
```
266266

267+
#### Serve [GraphiQL](https://github.com/graphql/graphiql)
268+
269+
Thanks to [`ruru`](https://github.com/graphile/crystal/tree/main/grafast/ruru), serving GraphiQL is as easy as running:
270+
271+
```sh
272+
npx ruru -SP -p 4001 -e http://localhost:4000/graphql
273+
```
274+
275+
Open [http://localhost:4001](http://localhost:4001) in the borwser to use it.
276+
267277
## Recipes
268278

269279
<details id="promise">

0 commit comments

Comments
 (0)