diff --git a/idp/.gitignore b/idp/.gitignore index 7a8b43d..0841df0 100644 --- a/idp/.gitignore +++ b/idp/.gitignore @@ -56,4 +56,4 @@ pids report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json -client \ No newline at end of file +/client \ No newline at end of file diff --git a/idp/src/client/client.controller.ts b/idp/src/client/client.controller.ts new file mode 100644 index 0000000..b26fbfe --- /dev/null +++ b/idp/src/client/client.controller.ts @@ -0,0 +1,9 @@ +import { Controller, Get } from '@nestjs/common'; + +@Controller('client') +export class ClientController { + @Get() + getMyClients() { + return []; + } +} diff --git a/idp/src/client/client.module.ts b/idp/src/client/client.module.ts new file mode 100644 index 0000000..2b440ca --- /dev/null +++ b/idp/src/client/client.module.ts @@ -0,0 +1,12 @@ +import { Module } from '@nestjs/common'; +import { NestjsFormDataModule } from 'nestjs-form-data'; +import { TypeOrmModule } from '@nestjs/typeorm'; +import { LoggerModule } from 'src/core/logger.module'; +import { ClientController } from './client.controller'; + +@Module({ + providers: [], + controllers: [ClientController], + imports: [NestjsFormDataModule, TypeOrmModule.forFeature([]), LoggerModule], +}) +export class ClientModule {}