feat(P0-001): scaffold monorepo structure (#60)

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #60.
This commit is contained in:
2026-03-13 01:11:46 +00:00
committed by jason.woltje
parent 339641352e
commit 6d0d288e31
99 changed files with 5926 additions and 157 deletions

16
apps/gateway/src/main.ts Normal file
View File

@@ -0,0 +1,16 @@
import 'reflect-metadata';
import { NestFactory } from '@nestjs/core';
import { FastifyAdapter, type NestFastifyApplication } from '@nestjs/platform-fastify';
import { AppModule } from './app.module.js';
async function bootstrap(): Promise<void> {
const app = await NestFactory.create<NestFastifyApplication>(AppModule, new FastifyAdapter());
await app.listen(4000, '0.0.0.0');
console.log('Gateway listening on port 4000');
}
bootstrap().catch((err: unknown) => {
console.error(err);
process.exit(1);
});