Got the basics working with angular

This commit is contained in:
2021-07-31 08:56:49 -04:00
parent e5ef4d8847
commit edbfd8bb9e
18 changed files with 3131 additions and 27 deletions
+2 -1
View File
@@ -5,11 +5,12 @@
import { Logger } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import { AppModule } from './app/app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const app = await NestFactory.create<NestExpressApplication>(AppModule);
const globalPrefix = 'api';
app.setGlobalPrefix(globalPrefix);
const port = process.env.PORT || 3333;