Added user login & registration. Added SQL file for postgres database.
This commit is contained in:
10
backend/nestjs-seshat-api/src/main.ts
Normal file
10
backend/nestjs-seshat-api/src/main.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import * as cookieParser from 'cookie-parser';
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { AppModule } from './app.module';
|
||||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule);
|
||||
app.use(cookieParser());
|
||||
await app.listen(process.env.PORT ?? 3001);
|
||||
}
|
||||
bootstrap();
|
Reference in New Issue
Block a user