commit working state
Too many changes to split them up. This commit contains roughly two months worth of work. This commit introduces the first aggregate and rewrites the ticket system to follow DDD patterns. It adds Spartan NG as the new component library. TanStack Query to replace GraphQL. Oh and Prisma is almost over as well.
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
// const tracer = require('./tracer');
|
||||
// import tracer from './tracer'
|
||||
import { HyperDXNestLoggerModule } from '@hyperdx/node-logger';
|
||||
import * as HyperDX from '@hyperdx/node-opentelemetry';
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { AppModule } from './app.module';
|
||||
import './instrumentation';
|
||||
import { ValidationPipe } from '@nestjs/common';
|
||||
|
||||
async function bootstrap() {
|
||||
|
||||
const logger = HyperDXNestLoggerModule.createLogger({
|
||||
apiKey: '71addf09-bcd2-4e83-8158-97458402137b',
|
||||
service: 'avicenna-data-connector',
|
||||
@@ -16,6 +14,15 @@ async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule, {
|
||||
logger: logger,
|
||||
});
|
||||
app.useGlobalPipes(
|
||||
new ValidationPipe({
|
||||
whitelist: true,
|
||||
transform: true,
|
||||
transformOptions: {
|
||||
enableImplicitConversion: false,
|
||||
},
|
||||
}),
|
||||
);
|
||||
app.enableCors();
|
||||
HyperDX.setupExpressErrorHandler(app);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user