/serverless-stack

💥 SST makes it easy to build serverless apps. Set breakpoints and test your functions locally. https://serverless-stack.com

Primary LanguageTypeScriptMIT LicenseMIT

Serverless Stack (SST)

Slack npm Build status


Serverless Stack (SST) is a framework that makes it easy to build serverless apps. It's an extension of AWS CDK and it features:

Quick Start

Create your first SST app.

# Create a new SST app
npx create-serverless-stack@latest my-sst-app
cd my-sst-app

# Start Live Lambda Dev
npx sst start

# Open the SST Console
open console.serverless-stack.com

# Deploy to prod
npx sst deploy --stage prod

Documentation

Follow us on Twitter and subscribe to our newsletter for updates.

About SST

We think SST can make it dramatically easier to build serverless apps.

Live Lambda Development

The sst start command starts up a local development environment that opens a WebSocket connection to your deployed app and proxies any Lambda requests to your local machine.

sst start

This allows you to:

  • Work on your Lambda functions locally
  • Supports all Lambda triggers, so there's no need to mock API Gateway, SQS, SNS, etc.
  • Supports real Lambda environment variables and Lambda IAM permissions
  • And it's fast. There's nothing to deploy when you make a change!

Read more about Live Lambda Development.

SST Console

The SST Console is a web based dashboard to manage your SST apps.

sst start

It allows you to:

  • Invoke functions and replay them
  • Make HTTP requests and test your APIs
  • Scan, query, and edit items in DynamoDB
  • Query the GraphQL endpoints in your app
  • Upload and delete files from your buckets
  • Create and delete users in your User Pools
  • Query your RDS databases and run migrations

Read more about the SST Console.

Composable serverless constructs

SST also comes with a set of serverless specific higher-level CDK constructs. This includes:

And more

SST also supports deploying your CloudFormation stacks asynchronously. Seed natively supports concurrent asynchronous deployments for your SST apps. And SST deployments on Seed are free!

SST also comes with a few other niceties:

  • Automatically lints your code using ESLint
  • Runs your unit tests using Jest

Internally, SST uses the CDK CLI to invoke the various CDK commands.