Add a README.md and a little demo screenshot

This commit is contained in:
Alex Wright 2021-07-11 17:12:54 +00:00
parent 4ed35b652e
commit 23d349c271
1 changed files with 7 additions and 0 deletions

7
README.md Normal file
View File

@ -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)