I made an example of a Sangria server supporting Relay

148 views
Skip to first unread message

Yasser Kaddour

unread,
Feb 6, 2016, 4:37:56 PM2/6/16
to sangria-graphql
Hi,

I am relatively new to the whole Play and Relay universe, so I played a little in the Sangria playground with the relay example provided by Facebook and Oleg in sangria-relay, there is a lack a documentation but I found what the missing piece in this group.
Here the github repo of my project, I used webpack for the front end assets generation I am not sure if it's the most elegant solution with Play Framework. I used a module with dependency injection to create the schema.json at the start of the Play application, the schema.json is needed by webpack and babel, I would like to know if there is better solution to streamline the process.

I really enjoyed learning all this stuff.

I hope this modest contribution will help some new user of Sangria. I am looking forward for your feedback and if everything is okay, I will push it as an activator template.

A great thanks to Oleg for all his work on this awesome project, and to all the members of this community.

Cheers,
Yasser

Oleg Ilyenko

unread,
Feb 6, 2016, 4:50:45 PM2/6/16
to sangria-graphql
Wow! It's amazing, thank you very much for making and sharing this! I looked quickly though the repo and it looks great. A bit later I will definitely give a closer look.

Yasser Kaddour

unread,
Feb 7, 2016, 4:07:13 AM2/7/16
to sangria-graphql
You're welcome, I am glad you liked it.
I await for your expert opinion, when you have the time, thanks.
Reply all
Reply to author
Forward
0 new messages