MCPcopy Create free account
hub / github.com/SAP-samples/cloud-sdk-js / bootstrap

Function bootstrap

samples/cf-sample-application/src/main.ts:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9passport.use(new XssecPassportStrategy(xsuaa));
10
11async function bootstrap() {
12 const app = await NestFactory.create(AppModule);
13 app.use(passport.initialize());
14 app.use(passport.authenticate('JWT', { session: false }));
15 await app.listen(process.env.PORT || 3000);
16}
17bootstrap();

Callers 1

main.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected