mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
.. | ||
src | ||
Cargo.toml | ||
README.md |
GraphQL using async-graphql
Getting started using async-graphql with Actix Web.
Usage
cd graphql/graphql-demo
cargo run
Endpoints
GET/POST http://localhost:8080/graphql GraphQL endpoint
GET http://localhost:8080/graphiql GraphQL playground UI
Query Examples
{
humans {
edges {
node {
id
name
friends {
id
name
}
appearsIn
homePlanet
}
}
}
}