Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcjulian/nestjs-graphql-zeit-now

Nest Graphql deployed to Zeit Now
https://github.com/marcjulian/nestjs-graphql-zeit-now

Last synced: 16 days ago
JSON representation

Nest Graphql deployed to Zeit Now

Awesome Lists containing this project

README

        

# Nest Graphql deployed to Zeit Now

Get started by running:

```bash
npm run now:deploy
```

## Graphql

When importing `GraphQLModule` the graphql schema must be generated on-the-fly in memory otherwise it fails to boot in Zeit Now.

```typescript
GraphQLModule.forRoot({
debug: true,
playground: true,
autoSchemaFile: true
}),
```

You can open the Graphql Playground, however, the schema is not fetched. Graphql queries are still correctly processed by nest.