client
This commit is contained in:
2
idp/.gitignore
vendored
2
idp/.gitignore
vendored
@@ -56,4 +56,4 @@ pids
|
|||||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||||
|
|
||||||
|
|
||||||
client
|
/client
|
||||||
9
idp/src/client/client.controller.ts
Normal file
9
idp/src/client/client.controller.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import { Controller, Get } from '@nestjs/common';
|
||||||
|
|
||||||
|
@Controller('client')
|
||||||
|
export class ClientController {
|
||||||
|
@Get()
|
||||||
|
getMyClients() {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
12
idp/src/client/client.module.ts
Normal file
12
idp/src/client/client.module.ts
Normal file
@@ -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 {}
|
||||||
Reference in New Issue
Block a user