Add NotesService

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-07-26 17:28:58 +02:00
parent 643adb7f9f
commit b05022945c
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
3 changed files with 60 additions and 0 deletions

View file

@ -1,9 +1,12 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Note } from './note.entity';
import { NotesService } from './notes.service';
@Module({
imports: [TypeOrmModule.forFeature([Note])],
controllers: [],
providers: [NotesService],
exports: [NotesService],
})
export class NotesModule {}