Cambios en las relaciones de evento, participante_evento y participante.
This commit is contained in:
+9
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user