Wire API health endpoint
This commit is contained in:
1 parent
4115646d66
commit
34ae20476f
10 files changed
+104
-21
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { AppModule } from './app.module';
|
||||
import { configureApp } from './app.setup';
|
||||
|
||||
export async function bootstrap(): Promise<void> {
|
||||
const app = await NestFactory.create(AppModule);
|
||||
configureApp(app);
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
}
|
||||
Reference in new issue
Block a user