const { ApolloServer, gql } = require('apollo-server'); code example
Example: install apollo server
npm install apollo-server graphql
# yarn
yarn add apollo-server graphql
npm install apollo-server graphql
# yarn
yarn add apollo-server graphql