serverless-express

This tool allows existing Node.js application roofs such as Express, Koa, Hapi, and Sails to be run on AWS Lambda, API Gateway, Lambda@Edge, and Azure Function. Version 5.0.0 added Node.js 24 support and removed API which was disabled. Allows execution of asynchronous startup tasks such as database connection before requests can be forwarded.

SE

CodeGenieApp · API Gateways & Clients

STARS5.3K
FORKS671
COMMITS0
CONTRIBUTORS0
VERSIONv5.0.0
UPDATED6 mo ago
JavaScriptAWS LambdaExpressServerlessApache-2.0

Common commercial products in this category: Apigee, AWS API Gateway, Azure API Management

What can it do?
  • You can move existing Node.js web applications and REST API AWS Lambda infrastructure.
  • Before request forwarding, you can configure asynchronous preparation tasks such as database connection.
  • Using the Lambda handler wrapper, you can run your applications on Azure Function.
User reviews
  • • NeutralGitHub Issue

    ERROR: aws-serverless-express connection error with every requests

    “"aws-serverless-express": "3.2.0", [email protected] It working fine in yesterday. CloudWatch log a0c895f5-fe7c-11e8-b3ae-4f8962debec2 ERROR: aws-serverless-express connection error 1544667186190,/aws/lambda/function,2018-12-13T02:13:06.190Z a0c895f5-fe7c-11e8-b3ae-4f8962debec2…”

  • ↓ NegativeGitHub Issue

    Async handler doesn't work on node 8.10

    “I have reduced my project to that snippet which generates an error using the new 8.10: ```js import awsServerlessExpress from 'aws-serverless-express' import express from 'express' export default async (event, context, callback) => { const app = express() app.get('/',…”

My note

Alternative pages

More in: API Gateways & Clients