added bruno files

Co-authored-by: Joe Arndt <jmarndt@users.noreply.github.com>
Reviewed-on: #1
This commit is contained in:
Joe 2025-12-10 21:59:21 +00:00
parent cf71891443
commit 61e5a49745
5 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,11 @@
meta {
name: Nest Default Get
type: http
seq: 2
}
get {
url: {{localUrl}}
body: none
auth: inherit
}

View file

@ -0,0 +1,9 @@
{
"version": "1",
"name": "Common Cents",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}

View file

@ -0,0 +1,3 @@
vars {
localUrl: http://localhost:3000
}

View file

@ -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 {

View file

@ -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();