Skip to content
This repository has been archived by the owner on Dec 2, 2017. It is now read-only.
Sergio Xalambrí edited this page Jul 25, 2017 · 1 revision

Install it

npm i @grial/cli @grial/server

Add the following script to your package.json

{
  "scripts": {
    "start": "grial start"
  }
}

When you run npm start and without creating environment variables you will see something like this.

$ grial start
Grial server running
> GraphiQL Endpoint      = http://localhost:3000/ide
> API Endpoint           = http://localhost:3000/graphql
> Subscriptions Endpoint = http://localhost:3000/subscriptions

You can then access to http://localhost:3000/ide and try your GraphQL server from the GraphiQL in-browser IDE.