Passed
Push — master ( b9ee6a...6e96df )
by Sergey
02:24
created

main.ts ➔ bootstrap   A

Complexity

Conditions 1

Size

Total Lines 5
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
1
import { NestFactory } from '@nestjs/core';
2
import { AppModule } from './app.module';
3
4
async function bootstrap() {
5
    const app = await NestFactory.create(AppModule);
6
    await app.listen(3001, '0.0.0.0', () => {
7
        console.info(`Running server1: port: ${3001}`);
8
    });
9
}
10
11
bootstrap();
12