1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

update juniper example

This commit is contained in:
Rob Ede
2022-02-17 20:37:51 +00:00
parent 7857ac65f8
commit 7a3fc52a70
5 changed files with 44 additions and 50 deletions

View File

@ -7,17 +7,16 @@ If you want more advanced example, see also the [juniper-advanced example].
## Usage
### server
### Server
```bash
```sh
cd graphql/juniper
cargo run (or ``cargo watch -x run``)
# Started http server: 127.0.0.1:8080
cargo run
```
### web client
### Web Client
[http://127.0.0.1:8080/graphiql](http://127.0.0.1:8080/graphiql)
Go to <http://localhost:8080/graphiql> in your browser.
_Query example:_