Skip to content
Snippets Groups Projects
Commit 1701563e authored by Berend Sliedrecht's avatar Berend Sliedrecht
Browse files

fix: resolved minor feedback points


Signed-off-by: default avatarBerend Sliedrecht <berend@animo.id>
parent 3f8de3e6
Branches trusted-connection-with-yourself
No related tags found
1 merge request!7Component responsibility
......@@ -7,8 +7,6 @@ import { Transport } from '@nestjs/microservices';
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
import AppModule from './app.module.js';
// import AllExceptionsFilter from './utils/exceptionsFilter.js';
// import logger from './utils/logger.js';
const app = await NestFactory.create(AppModule);
const configService = app.get(ConfigService);
......@@ -37,9 +35,4 @@ const document = SwaggerModule.createDocument(app, swaggerConfig);
SwaggerModule.setup('/swagger', app, document);
await app.startAllMicroservices();
// const httpAdapter = app.get(HttpAdapterHost);
// app.useGlobalFilters(new AllExceptionsFilter(httpAdapter));
await app.listen(configService.get('PORT') || 3000, () => {
// logger.info(`Listening on Port:${configService.get('PORT')}` || 3000);
});
await app.listen(configService.get('PORT') || 3000);
......@@ -7,8 +7,6 @@ import { Transport } from '@nestjs/microservices';
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
import AppModule from './app.module.js';
// import AllExceptionsFilter from './utils/exceptionsFilter.js';
// import logger from './utils/logger.js';
const app = await NestFactory.create(AppModule);
const configService = app.get(ConfigService);
......@@ -37,9 +35,4 @@ const document = SwaggerModule.createDocument(app, swaggerConfig);
SwaggerModule.setup('/swagger', app, document);
await app.startAllMicroservices();
// const httpAdapter = app.get(HttpAdapterHost);
// app.useGlobalFilters(new AllExceptionsFilter(httpAdapter));
await app.listen(configService.get('PORT') || 3000, () => {
// logger.info(`Listening on Port:${configService.get('PORT')}` || 3000);
});
await app.listen(configService.get('PORT') || 3000);
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src"
"sourceRoot": "src",
"compilerOptions": {
"typeCheck": true,
"builder": {
"type": "swc",
"options": {
"swcrcPath": "../../.swcrc"
}
}
}
}
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src"
"sourceRoot": "src",
"compilerOptions": {
"typeCheck": true,
"builder": {
"type": "swc",
"options": {
"swcrcPath": "../../.swcrc"
}
}
}
}
......@@ -15,20 +15,6 @@ services:
- nats
- ssi
# attestation-manager:
# build:
# context: ..
# args:
# - SERVICE=attestation-manager
# init: true
# ports:
# - '3005:3005'
# env_file: ./env/attestation-manager.env
# depends_on:
# - db
# - nats
# - ssi
credential-manager:
build:
context: ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment