Juniper: Better example for rocket

Created on 29 Jul 2017  路  4Comments  路  Source: graphql-rust/juniper

The rocket example is very bare bones.

We should have a more complete example that shows a mutation and context.

docs help wanted

Most helpful comment

I created an example based off of @mhallin's Iron app. I hit a few pinpoints and will document them more thoroughly in the future, but overall it was a worthwhile experience.

Link to the repo: https://github.com/ELD/rocket-juniper-example

All 4 comments

I created a small example repository here: https://github.com/mhallin/juniper-example-todo-backend, which uses Iron instead of Rocket. It should of course be extended, but it's a start at least. Maybe we could add Rocket support to that repo?

I created an example based off of @mhallin's Iron app. I hit a few pinpoints and will document them more thoroughly in the future, but overall it was a worthwhile experience.

Link to the repo: https://github.com/ELD/rocket-juniper-example

I've also created an example using the above repos as guidance (these were very helpful to use alongside the docs). It's minimal, so doesn't include database logic or an ORM, and makes use of the GraphQLObject and GraphQLInputObject derives. Hope this helps people: https://github.com/WillSquire/graphql-rust

Hello there ! I'm building an app with juniper_rocket, mongodb, and yew for the front-end. It's going to be open source once ready anyway so I could definitely use it while it's still relatively simple to complete the documentation and example.

Just tell me if it's actually useful and I'll begin working on it. :slightly_smiling_face:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mihai-dinculescu picture mihai-dinculescu  路  3Comments

tomhoule picture tomhoule  路  4Comments

acelot picture acelot  路  3Comments

teymour-aldridge picture teymour-aldridge  路  5Comments

pyros2097 picture pyros2097  路  3Comments