Skip to content

Commit a829cdc

Browse files
smyrickbrennantaylor
authored andcommitted
Create README.md (#187)
1 parent 7cd27a9 commit a829cdc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

example/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# graphql-kotlin example
2+
3+
One way to run a GraphQL server is with spring boot. This example app uses `graphql-kotlin`, `graphql-java-servlet` and `graphiql`.
4+
5+
6+
### Running locally
7+
Build the application
8+
9+
```bash
10+
mvn clean install
11+
```
12+
13+
Start the server:
14+
15+
* Run `Application.kt` directly from your IDE
16+
* Alternatively you can also use the spring boot maven plugin by running `mvn spring-boot:run` from the command line.
17+
18+
19+
Once the app has started you can explore the example schema by opening GraphiQL endpoint at http://localhost:8080/graphiql.

0 commit comments

Comments
 (0)