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: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,18 @@ An utility wrote on Go for using GraphiQL without need to use NPM.
7
7
[Try the live demo.](http://graphql.org/swapi-graphql)
8
8
9
9
## Getting started
10
-
To install the library, run:
10
+
To install the library, run
11
11
12
12
```bash
13
13
go get -u github.com/friendsofgo/graphiql
14
14
```
15
15
16
+
To build graphi's CLI you must run
17
+
```bash
18
+
make build-cli
19
+
```
20
+
This will generate a binary in the project's bin directory called graphiql. You can then move this binary to anywhere in your `PATH`.
21
+
16
22
### Use GraphiQL on your own server
17
23
If you've a GraphQL server on GO and you want to include the GraphiQL
18
24
on it, it's as simple as this:
@@ -61,6 +67,9 @@ func main() {
61
67
http.ListenAndServe(":4040", nil)
62
68
}
63
69
70
+
## CLI
71
+
72
+
64
73
## Contribute
65
74
[Contributions](https://github.com/friendsofgo/graphiql/issues?q=is%3Aissue+is%3Aopen) are more than welcome, if you are interested please fork this repo and send your Pull Request.
0 commit comments