feat: Initialize NestJS application with CORS, global validation, Swagger documentation, and server bootstrap.

This commit is contained in:
JuruSysadmin 2026-01-07 18:45:01 -03:00
parent 1e59f29290
commit 89072a2577
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ async function bootstrap() {
app.enableShutdownHooks(); app.enableShutdownHooks();
await app.listen(process.env.PORT ?? 3001, '0.0.0.0'); await app.listen(process.env.PORT ?? 3008, '0.0.0.0');
logger.log(`Server is running on port ${process.env.PORT ?? 3001}`); logger.log(`Server is running on port ${process.env.PORT ?? 3001}`);
logger.log( logger.log(
`Swagger documentation available at http://localhost:${process.env.PORT ?? 3001}/api`, `Swagger documentation available at http://localhost:${process.env.PORT ?? 3001}/api`,