added bruno files
Co-authored-by: Joe Arndt <jmarndt@users.noreply.github.com> Reviewed-on: #1
This commit is contained in:
parent
cf71891443
commit
61e5a49745
5 changed files with 26 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import { AppService } from './app.service';
|
|||
|
||||
@Controller()
|
||||
export class AppController {
|
||||
constructor(private readonly appService: AppService) {}
|
||||
constructor(private readonly appService: AppService) { }
|
||||
|
||||
@Get()
|
||||
getHello(): string {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
import { NestFactory } from '@nestjs/core';
|
||||
import { AppModule } from './app.module';
|
||||
import { NestExpressApplication } from '@nestjs/platform-express';
|
||||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule);
|
||||
const app = await NestFactory.create<NestExpressApplication>(AppModule);
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
}
|
||||
bootstrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue