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 80e018692b
commit 4799f65aff
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
9 changed files with 164 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import { Module } from '@nestjs/common';
import { HistoryModule } from '../../history/history.module';
import { UsersModule } from '../../users/users.module';
import { MeController } from './me/me.controller';
import { NotesController } from './notes/notes.controller';
import { MediaController } from './media/media.controller';
import { MonitoringController } from './monitoring/monitoring.controller';
@Module({
imports: [UsersModule, HistoryModule],
controllers: [
MeController,
NotesController,
MediaController,
MonitoringController,
],
})
export class PublicApiModule {}