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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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