serverless-express

Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.

5.3k
Stars
+-7
Gained
-0.1%
Growth
JavaScript
Language

💡 Why It Matters

This library addresses the challenge of running Express and other Node.js web frameworks on AWS Lambda and API Gateway or Azure Functions without rewriting your application. It wraps your existing Express app in a minimal Lambda or Azure Function handler, handling the event and context translation needed to run serverless. This approach lets backend engineers migrate traditional REST APIs to serverless environments while preserving familiar Express middleware and routing patterns. The repo has a moderate star count (5,259) and recent commits as of April 2026, but its growth appears flat or declining, suggesting it is stable but not rapidly evolving. It is not suited for greenfield projects that require high-performance serverless APIs built with frameworks designed specifically for Lambda, such as AWS Lambda Powertools or Fastify-lambda, which may offer better cold start performance or native serverless features.

🎯 When to Use

Use this when you want to quickly migrate an existing Express (or similar) Node.js API to AWS Lambda or Azure Functions with minimal code changes. Consider alternatives like AWS Lambda Powertools or Fastify-lambda if you need better cold start performance or are building a new serverless API from scratch.

👥 Team Fit & Use Cases

Commonly found in teams migrating monolithic or traditional Express REST APIs to serverless on AWS or Azure, especially when the team wants to preserve Express middleware and routing. It also fits projects combining React Next.js frontends with serverless Express backends, often integrated with AWS services like API Gateway, Cognito, and DynamoDB.

🎭 Best For

🏷️ Topics & Ecosystem

alb api-gateway aws aws-lambda aws-serverless dynamodb express express-js expressjs hacktoberfest lambda node node-js nodejs sam serverless serverless-applications serverless-express serverless-framework vendia

📊 Activity

Latest commit: 2026-04-16. Over the past 372 days, this repository gained -7 stars (+-0.1% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.