configured base route and setup healthcheck endpoint
This commit is contained in:
parent
61e5a49745
commit
acdb7ad9c9
13 changed files with 98 additions and 21 deletions
|
|
@ -4,6 +4,7 @@ import { NestExpressApplication } from '@nestjs/platform-express';
|
|||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create<NestExpressApplication>(AppModule);
|
||||
app.setGlobalPrefix('common-cents');
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
}
|
||||
bootstrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue