Guide
Installing
Set up typescript
Pothos is designed to be as type-safe as possible, to ensure everything works correctly, make sure
that your tsconfig.json
has strict
mode set to true:
Create a simple schema
Create a server
The schema generated by Pothos is a standard graphql.js schema and can be used with several graphql
server implementations including graphql-yoga
.