@haorama/nestjs-tg
v0.2.0
Published
Typegoose Module for nestjs
Downloads
1
Readme
Nestjs Typegoose
Typegoose module for nestjs
it used almost same behavior as @nestjs/mongoose
Installation
npm install mongoose @typegoose/typegoose @haorama/nestjs-tg
yarn add mongoose @typegoose/typegoose @haorama/nestjs-tg
pnpm add mongoose @typegoose/typegoose @haorama/nestjs-tg
Usage
import { Module } from "@nestjs/common";
import { TypegooseModule } from "@haorama/nestjs-tg";
@Module({
imports: [
TypegooseModule.forRoot(
"mongodb://localhost:27017/test",
),
],
})
export class AppModule {}
Todos
- Test using different / custom connectionName