- Install just(note: just works in linux only)
- Clone the repo
- Build the app using
just build server.js --static --clean
- Execute the build
./server
- Hit the get api
http://localhost:3000/graphql?query={firstName,lastName}
process.env.NODE_ENV
is changed tojust.env().NODE_ENV
in the instanceOf.js file of graphql library to make it work in just-js, do not re-install the npm module.