Skip to content

Instantly share code, notes, and snippets.

@darwinsubramaniam
Last active July 18, 2020 10:14
Show Gist options
  • Save darwinsubramaniam/8ad6388f8d16030e62cc5ce924a267a0 to your computer and use it in GitHub Desktop.
Save darwinsubramaniam/8ad6388f8d16030e62cc5ce924a267a0 to your computer and use it in GitHub Desktop.
sample of the couchdb.module.ts
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import databaseConfig from './database.config';
@Module({
imports: [ConfigModule.forFeature(databaseConfig)],
providers: [],
exports: []
})
export class CouchdbModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment