0.2.16 • Published 1 year ago
@softkit/bootstrap v0.2.16
Bootstrap Library
This library provides a set of general services, methods and utilities for bootstrapping the application. It's configuring default interceptors, swagger, http server, security, etc...
Useful to do not repeat yourself everytime, and shouldn't be used outside Softkit ecosystem
Installation
yarn add @softkit/bootstrapUsage in your main.ts
import { PlatformAppModule } from './your-app.module';
import { bootstrapBaseWebApp } from '@softkit/bootstrap';
void bootstrapBaseWebApp(PlatformAppModule);Usage in tests (e2e)
import { bootstrapBaseWebApp } from '@softkit/bootstrap';
describe('auth e2e test', () => {
let app: NestFastifyApplication;
beforeAll(async () => {
const moduleFixture: TestingModule = await Test.createTestingModule({
imports: [YourAppModule],
}).compile();
app = await bootstrapBaseWebApp(moduleFixture, PlatformAppModule);
});
});0.2.16
1 year ago
0.2.15
2 years ago
0.2.14
2 years ago
0.2.13
2 years ago
0.2.12
2 years ago
0.2.11
2 years ago
0.2.10
2 years ago
0.2.9
2 years ago
0.2.8
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.5
2 years ago
0.2.3
2 years ago
0.2.4
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.1
2 years ago