graphql-perl / sample-dancer2

Sample Dancer2 applet with trivial schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dancer2 sample app

This is a small "hello, world" demonstration of using Dancer 2 to serve GraphQL.

To use:

cpanm --installdeps .
plackup bin/app.psgi

Point your browser at http://localhost:5000

After clicking through to the GraphiQL tool, try entering this query in the upper left-hand pane:

{ helloWorld }

Acknowledgements

A complete revamp of this applet, simplifying, clarifying and adding a test, was contributed by Nick Tonkin https://github.com/1nickt

About

Sample Dancer2 applet with trivial schema


Languages

Language:Perl 100.0%