Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL with Yaws #208

Open
navneetixz opened this issue Aug 21, 2019 · 1 comment
Open

GraphQL with Yaws #208

navneetixz opened this issue Aug 21, 2019 · 1 comment

Comments

@navneetixz
Copy link

Does anyone have an example tutorial of GraphQL with yaws? Or some leads, hints is appreciated.

@leoliu
Copy link

leoliu commented Aug 24, 2019

You need an appmod which is basically an erlang module with out/1 exported. The module should catch the request, get the body, query strings etc and pass them to graphql similar to the cowboy tutorial. Unlike cowboy Yaws doesn't have a builtin REST flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants