Cambios en las relaciones de evento, participante_evento y participante.

This commit is contained in:
santiago
2025-04-02 09:15:14 -06:00
parent fbd753d27e
commit 7b72ee4ec6
18 changed files with 305 additions and 39 deletions
+9 -1
View File
@@ -1,8 +1,16 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import 'dotenv/config';
import { DocsModule } from './docs/docs.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(process.env.PORT ?? 3000);
//await app.listen(process.env.PORT ?? 3000);
DocsModule.setupSwagger(app);
await app.listen(3000);
console.log('API en ejecución en http://localhost:3000');
console.log('Swagger disponible en http://localhost:3000/api-docs');
}
bootstrap();