Blog: Building a GraphQL server with Warp, Juniper and MongoDB

Hi everybody.

I have been experimenting a bit with warp in the last few days, and decided to write down a little tutorial on how to use it to expose a (basic) GraphQL server with MongoDB as storage.

You can find it here: Rust GraphQL webserver with Warp, Juniper and MongoDB

It's been quite hard, as the documentation level varies a lot: it's decent to good for Juniper, basic for warp (as expected, given the age) and basically non-existent for MongoDB, but somehow I got through.

I hope this helps others who want to embark on the adventure.

If you have suggestions on how to improve the code, please (PLEASE!!!) do comment. :slight_smile:

I don't have comments enabled on the blog itself, but I follow this forum.
I'm not on reddit, so feel free to post it there but don't expect replies.

1 Like

Thanks for sharing! Always helpful to see examples. I'm looking forward to when Juniper has an answer for async resolvers. As far as I know, that is still up for grabs.

(edit 4/21). juniper has added async resolvers :sunglasses: