Template repository for Node.js GraphQL services using Apollo Server.
- Run
make start
to start local dev server at http://localhost:4000/graphql - Run
make stop
to destroy local environment
Run yarn codegen
to generate TypeScript definitions for GraphQL resolvers with GraphQL Code Generator.
In vscode, the codegen script can be run in watch mode as a background task by executing Tasks: Run Task and selecting graphql-codegen --watch
.