Created
July 14, 2019 15:12
-
-
Save hzburki/49960c73368caddf5a357b218da03a65 to your computer and use it in GitHub Desktop.
User module - NestJS SequelizeJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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