Grats

Grats

Implementation-First GraphQL for TypeScript
GitHub
110
Created 9 months ago, last commit a day ago
5 contributors
303 commits
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.3 /day
Package on NPM
grats
0.0.5
Monthly downloads on NPM
0
0
0
0
11
12
1
2
3
4
5
6
7
8
9
10
2022
2023
README

-=[ ALPHA SOFTWARE ]=-

Grats is still experimental. Feel free to try it out and give feedback, but the api is still in flux

Grats: Implementation-First GraphQL for TypeScript

Join our Discord!

What if building a GraphQL server were as simple as just writing functions?

When you write your GraphQL server in TypeScript, your fields and resolvers are already annotated with type information. Grats leverages your existing type annotations to automatically extract an executable GraphQL schema from your generic TypeScript resolver code.

By making your TypeScript implementation the source of truth, you never have to worry about validating that your implementation matches your schema. Your implementation is your schema!

Read the docs: https://grats.capt.dev/

Contributing

See CONTRIBUTING.md in the repo root for details on how to make changes to this project.

Acknowledgements