Playground to get hands-on feeling for examples provided by Luis Aguilar.
Install JS Stuff:
npm install --save graphql
npm install --save express-graphql
npm install --save express
Step 1: Run the server app
node server.js
Step 2: Open the GraphiQL Page in the Browser
localhost:4001/graphql?query=query{users{id%2Clogin}}
Step 3: Check Result using Command Line
curl -X POST -H "Content-Type: application/json" -d '{"query": "{ users { id, login }}"}' http://localhost:4001/graphql