feat: magic-link auth complete

This commit is contained in:
Balu Babu
2023-01-10 16:06:42 +05:30
parent 0c154be04e
commit fc284fd0a2
17 changed files with 6590 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
import { NestFactory } from '@nestjs/core';
import { json } from 'express';
import { AppModule } from './app.module';
import * as cookieParser from 'cookie-parser';
async function bootstrap() {
console.log(`Running in production: ${process.env.PRODUCTION}`);
@@ -28,6 +29,7 @@ async function bootstrap() {
origin: true,
});
}
app.use(cookieParser());
await app.listen(process.env.PORT || 3170);
}
bootstrap();