You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enjoy writing graphql service in plain Nim!.
You decide when to use more syntactic sugars offered by Nim templates.
And you can choose whether you want to use macros or not, we don't impose them to you.
Designed from ground up to be easily tested part by part,
you can quickly implement your service while writing a comprehensive test suite for it.
You can choose which transport mechanism to deliver your service.
Over http or secure-http, websocket or secure-websocket, ipc or rpc, rawsocket,
and OS stdin/stdout. Not all of these mechanisms provided by nim-graphql,
but the freedom is there.
Documentation
If you are interested in contributing to nim-graphql development, the official
specification is here.
If you want to know how to use nim-graphql or how nim-graphql works,
the documentation is available here.
Playground
You can play with our playground graphql http server using graphql
client such as Altair GraphQL client
or using builtin graphiql user interface.
Using Starwars schema/api.
$ nimble starwars
or
$ nim c -r playground/swserver starwars
Using Ethereum schema/api.
$ nimble ethereum
or
$ nim c -r playground/swserver ethereum
To run the playground server with docker, you can execute this commands:
When submitting pull requests, please add test cases for any new features
or fixes and make sure nimble test is still able to execute the entire
test suite successfully.