immich/microservices/src/main.ts

16 lines
336 B
TypeScript
Raw Normal View History

2022-03-25 15:26:55 -05:00
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { AppService } from './app.service';
async function bootstrap() {
const app = await NestFactory.createApplicationContext(AppModule);
const appService = app.get(AppService);
appService.getHello();
await app.close();
}
bootstrap();