Skip to content

Instantly share code, notes, and snippets.

@hzburki
Created July 14, 2019 15:12
Show Gist options
  • Save hzburki/49960c73368caddf5a357b218da03a65 to your computer and use it in GitHub Desktop.
Save hzburki/49960c73368caddf5a357b218da03a65 to your computer and use it in GitHub Desktop.
User module - NestJS SequelizeJS
import { Module } from '@nestjs/common';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { DatabaseModule } from '../database/database.module';
import { userProviders } from './user.providers';
@Module({
imports: [DatabaseModule],
controllers: [UserController],
providers: [UserService, ...userProviders],
})
export class UserModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment