How to use lambda-api - 1 common examples

To help you get started, we’ve selected a few lambda-api examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github djfdyuruiry / ts-lambda-api / src / api / Server.ts View on Github external
public constructor(private appContainer: Container, private appConfig: AppConfig) {
        this.logFactory = new LogFactory(appConfig)
        this.logger = this.logFactory.getLogger(Server)

        // ensure decorator registry has the right log level (now that we know the app config)

        this.api = createAPI(appConfig)
        this._middlewareRegistry = new MiddlewareRegistry(this.logFactory)

        if (this.appConfig.openApi && this.appConfig.openApi.enabled) {
            this.openApiGenerator = new OpenApiGenerator(this.appConfig, this._middlewareRegistry, this.logFactory)


Lightweight web framework for your serverless applications

Latest version published 9 months ago

Package Health Score

73 / 100
Full package analysis

Popular lambda-api functions