0.2.16 • Published 5 months 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/bootstrap
Usage 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
5 months ago
0.2.15
12 months ago
0.2.14
12 months ago
0.2.13
1 year ago
0.2.12
1 year ago
0.2.11
1 year ago
0.2.10
1 year ago
0.2.9
1 year ago
0.2.8
1 year ago
0.2.7
1 year ago
0.2.6
1 year ago
0.2.5
1 year 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