From 31d339ab390a2c4119fec42c54edabebd96ef730 Mon Sep 17 00:00:00 2001 From: Aaron Arinder Date: Sun, 7 Feb 2021 14:53:54 -0500 Subject: [PATCH] getting started: make running server own section --- docs/content/getting-started.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/getting-started.md b/docs/content/getting-started.md index 99a3be37270..b7afd9e4831 100644 --- a/docs/content/getting-started.md +++ b/docs/content/getting-started.md @@ -128,12 +128,14 @@ func (r *queryResolver) Todos(ctx context.Context) ([]*model.Todo, error) { } ``` +### Run the server + We now have a working server, to start it: ```bash go run server.go ``` -then open http://localhost:8080 in a browser. here are some queries to try: +Open http://localhost:8080 in a browser. Here are some queries to try: ```graphql mutation createTodo { createTodo(input:{text:"todo", userId:"1"}) {