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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download 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