GraphQL Server hydre's way
Some env here
Name | Default | Description |
---|---|---|
PORT | 3000 |
Koa server port |
ORIGINS | * |
Cors origins in regex format, use ; to support multiple. ex: "localhost;.+\.foo\.com" |
GRAPHQL_PATH | /v1 |
Your graphql path endpoint |
PLAYGROUND | false |
Both booleans and strings are supported |