Add NoteModule

This contains the module, a model which was adapted from the old code and two DTOs.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-07-25 20:24:59 +02:00
parent 35674e80c4
commit 69afdd3b05
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
6 changed files with 196 additions and 1 deletions

View file

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