base con autenticacion, registro, modulo encuestas
This commit is contained in:
16
apps/api/src/main.ts
Normal file
16
apps/api/src/main.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { AppModule } from '@/app.module';
|
||||
import { bootstrap } from '@/bootstrap';
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { NestExpressApplication } from '@nestjs/platform-express';
|
||||
|
||||
const main = async () => {
|
||||
const app = await NestFactory.create<NestExpressApplication>(AppModule, {
|
||||
bufferLogs: true,
|
||||
});
|
||||
await bootstrap(app);
|
||||
};
|
||||
|
||||
main().catch((error) => {
|
||||
console.log(error);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in New Issue
Block a user