1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

update async-graphql example

This commit is contained in:
Rob Ede
2022-02-17 21:29:55 +00:00
parent e0888cd255
commit 1b23e3ff3d
14 changed files with 164 additions and 147 deletions

View File

@ -1,4 +1,4 @@
# Juniper
# GraphQL using Juniper
[Juniper](https://github.com/graphql-rust/juniper) integration for Actix Web.
If you want more advanced example, see also the [juniper-advanced example].

View File

@ -40,7 +40,8 @@ async fn main() -> io::Result<()> {
// Create Juniper schema
let schema = Arc::new(create_schema());
log::info!("starting HTTP server at http://localhost:8080");
log::info!("starting HTTP server on port 8080");
log::info!("GraphiQL playground: http://localhost:8080/graphiql");
// Start HTTP server
HttpServer::new(move || {