mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 20:25:32 -04:00
16 lines
336 B
TypeScript
16 lines
336 B
TypeScript
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();
|