/serverless-framework

Serverless Framework v3

Primary LanguageJavaScriptMIT LicenseMIT

Serverless Application Framework AWS Lambda API Gateway

The Serverless Framework – Build applications on AWS Lambda and other next-gen cloud services, that auto-scale and only charge you when they run. This lowers the total cost of running and operating your apps, enabling you to build more and manage less.

The Serverless Framework is a command-line tool with an easy and approachable YAML syntax to deploy both your code and cloud infrastructure needed to make tons of serverless application use-cases. It's a multi-language framework that supports Node.js, Typescript, Python, Go, Java, and more. It's also completely extensible via over 1,000 plugins which add more serverless use-cases and workflows to the Framework.

Context

This repository is based on Serverless Framework v3. It exists to help those that are still on this version and cannot upgrade immediately to v4.

This is not intended as a fork or long-term maintained project, but to solve immediate needs for v3 to continue working.

It contains the following differences:

  • Up-to-date documentation for v3
  • All documentation for non-AWS providers has been removed.
  • There is no standalone binary version, the package is only available via NPM.
  • Fixed vulnerabilities in dependencies:
  • Lighter and faster CLI - Each command is ~1s faster than the original v3.
    • Serverless Dashboard/Enterprise features are removed (because there is no guarantee to keep them working with v3), if you are using them you should upgrade to v4.
    • Serverless Components support have been removed: these are old and unmaintained projects, it's very unlikely you are using them. That improves the boot time of the CLI.
    • Serverless' integration for Tencent Cloud (China version of the serverless CLI) has been removed.
    • Removed unused dependencies.
    • Auto-updating has been removed (because it's not working anymore).
  • Fixed a node warning ("The punycode module is deprecated").

Get Started

Usage

Function events

CLI Reference

Learn More

Creating Plugins