Files
reformix-hackaton/mvp/Whatsapp-bot/src/main.ts
2026-05-31 22:02:58 -04:00

20 lines
514 B
TypeScript

import 'reflect-metadata';
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import * as dotenv from 'dotenv';
dotenv.config();
async function bootstrap() {
const app = await NestFactory.create(AppModule, {
logger: ['error', 'warn', 'log', 'debug'],
});
const port = process.env.PORT || 3000;
await app.listen(port);
console.log(`🚀 Reformix Luisa Bot corriendo en el puerto ${port}`);
console.log(`📡 Esperando conexion de WhatsApp...`);
}
bootstrap();