re: Learn how YOU can build a Serverless GraphQL API on top of a Microservice architecture, part I VIEW POST

TOP OF THREAD FULL DISCUSSION
re: trying follow along and getting error with graphql api's app.js.... graphql({ ^ ReferenceError: graphql is not defined at Object. (/Users/me...
 

hi Greg. Sorry you got stuck.. Yes you need a const { graphql } = require('graphql'), at the top, also ensure you have run npm init -y followed by npm install graphql at the root directory of this file

 
code of conduct - report abuse