const db = new planetscale.Database("Db")

const email = new sst.aws.Email("Email", {
  sender: "mail@example.com"
})

const api = new sst.aws.Service("Api", {
  memory: "4 GB",
  image: "./rails",
  link: [db, email]
})

const web = new sst.aws.Nextjs("Web", {
  link: [api],
  path: "./nextjs",
  domain: "example.com",
  dns: sst.cloudflare.dns()
})

For whatever you build.

Deploy everything your app needs with a single config.

npm i sst

New Windows support in beta

What is SST Get Started

Loved by thousands of teams