This Serverless plugin emulates AWS λ and API Gateway on your local machine to speed up your development cycles. To do so, it starts an HTTP server that handles the request's lifecycle like APIG does and invokes your handlers. Options passed on the command line override YAML options. List of available function names and their corresponding serverless.yml function keys are listed after the server starts. This is important if you use a custom naming scheme for your functions as serverless-offline will use your custom name. The left side is the function's key in your serverless.yml and the right side is the function name that is used to call the function externally such as aws-sdk. Once you run a function that boots up the Docker container, it'll look through the layers for that function, download them in order to your layers folder, and save a hash of your layers so it can be re-used in future.

Features

  • Node.js, Python, Ruby λ runtimes
  • Velocity templates support
  • Lazy loading of your handler files
  • Integrations, authorizers, proxies
  • Timeouts, responseParameters, HTTPS, CORS, etc.
  • This plugin is updated by its users

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Serverless Offline

Serverless Offline Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Serverless Offline!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software, JavaScript Emulators, JavaScript API Gateways

Registered

2021-12-20