GraphQL For The Rest Of Us: New Things for People Who Work On Old Things
Install Dependencies
npm install
Run the Mock Data API (Terminal Window 1)
npm run start:api-server,
Run the GraphQL API (Terminal Window 2)
npm run start:graphql-server
Navigate to http://localhost:5000
{
posts(page: "2") {
title
author {
lastName
company {
companyDescription
}
}
}
}
MIT