Built as a project to learn GraphQL and also use it to serve my APIs that currently use REST.
Just like any other node project, use npm to install it
npm install
To run the development server, use nodemon
npm run dev:server
this uses nodemon as a dependency. so if you dont have nodemon installed, install it globally using
npm i -g nodemon
Running the development server starts an express server on port 4000 GraphiQL is set up on the /graphql endpoint. Goto localhost:4000/graphql to use the interface.