feat: Initialize NestJS application with CORS, global validation, Swagger documentation, and server bootstrap.
This commit is contained in:
parent
1e59f29290
commit
89072a2577
|
|
@ -51,7 +51,7 @@ async function bootstrap() {
|
|||
|
||||
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(
|
||||
`Swagger documentation available at http://localhost:${process.env.PORT ?? 3001}/api`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue