From 23d349c271e6e075c219c6a85ecbe45f7f4f7aaf Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Sun, 11 Jul 2021 17:12:54 +0000 Subject: [PATCH] Add a README.md and a little demo screenshot --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..bc9c53a --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Playing around with Rust, Rocket, Juniper + +Little demo/test playing with Rust, Rocket, Juniper to get a GraphQL interface to a list of names basicly. + +My Rust knowlage is rusty.. took me most of a day to get something together to compile a schema. Threadsafey was killing me on that incrementing id for about two hours. By the end when wrapping that `.values()` iter in a Juniper `graphql_object` I actually wrote that and it compiled first time! Very Wow. + +![Screenshot of me using the Graphiql interface hosted by the app](https://xeen.dev/alex/rust-graphql-goof/raw/branch/binary/demo.png) \ No newline at end of file