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

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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