base con autenticacion, registro, modulo encuestas

This commit is contained in:
2025-06-16 12:02:22 -04:00
commit 475e0754df
411 changed files with 26265 additions and 0 deletions

11
apps/api/src/swagger.ts Normal file
View File

@@ -0,0 +1,11 @@
import { NestExpressApplication } from '@nestjs/platform-express';
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
export const swagger = async (app: NestExpressApplication) => {
const swaggerConfig = new DocumentBuilder()
.setTitle('Turbo repo')
.addBearerAuth()
.build();
const document = SwaggerModule.createDocument(app, swaggerConfig);
SwaggerModule.setup('api-docs', app, document);
};