This is an example on how to create a GraphQL server with TypeScript. Read more on my blog post.
A simple GraphQL server using TypeScript, Koa and apollo-graphql-server. It also provides a basic file structure to separate the schema and the resolvers to different files.
Tests included!
To build the server:
yarn build
To start the server:
yarn start
To run the tests:
yarn test