Skip to content

Instantly share code, notes, and snippets.

@DillonMemo
Last active February 16, 2021 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DillonMemo/497d121e42855e6d3cbd0935f42d09df to your computer and use it in GitHub Desktop.
Save DillonMemo/497d121e42855e6d3cbd0935f42d09df to your computer and use it in GitHub Desktop.
NestJS Configure Practice
NestJS
  ├─src
  │  ├─app.module.ts
  │  ├─main.ts
  ├─test
  │  └─...test files
  └─eslint,env,prettier etc config files
import { Module } from '@nestjs/common';
import { GraphQLModule } from '@nestjs/graphql';
@Module({
imports: [
GraphQLModule.forRoot({
autoSchemaFile: true, // == autoSchemaFile: join(process.cwd(), 'src/schema.gql'),
}),
],
controllers: [],
providers: [],
})
//test
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment