graphql-perl / sample-mojolicious

Sample Mojolicious applet serving GraphQL
5 stars 2 forks source link

Mojolicious sample app

This is a demonstration of using Mojolicious to serve GraphQL, using GraphQL::Plugin::Convert::MojoPubSub to make a schema. The schema includes a working subscription, and implements a working real-time chat system.

To use:

cpanm --installdeps .
./myapp.pl daemon -l http://*:5000

Point your browser at http://localhost:5000

After clicking through to the GraphiQL tool, try entering the queries given on the main page of the app, in the upper left-hand pane.