mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
15 lines
336 B
TypeScript
15 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();
|