This Code is part of a Blog. Read the blog to make the best use of this code. The Link to the blog is here
Install NodeJS from https://nodejs.org
Clone the code using the following command
git clone https://github.com/aditya-sridhar/graphql-with-nodejs.git
Install the npm packages using the following command
npm install
Start the application using the following command
node server.js
The application runs on localhost:5000/graphql