Created
July 14, 2019 14:59
-
-
Save hzburki/3e61f50e0083d32b336ffaeaa0f9b83d to your computer and use it in GitHub Desktop.
Database Module for NestJS Sequelize Blog
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 { databaseProviders } from './database.providers'; | |
@Module({ | |
providers: [...databaseProviders], | |
exports: [...databaseProviders], | |
}) | |
export class DatabaseModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment