Add PublicAPIModule

This adds all controllers needed in the public API (at least as currently specified) and implements some routes under `/me`

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-07-25 20:13:06 +02:00
parent eeeacb8c67
commit 348cd3ffe1
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
9 changed files with 164 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { NotesController } from './notes.controller';
describe('Notes Controller', () => {
let controller: NotesController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [NotesController],
}).compile();
controller = module.get<NotesController>(NotesController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});