
SST v3 Has a Free API: Build Full-Stack Serverless Apps on AWS with Zero Config
What is SST? SST (Serverless Stack) is a framework for building full-stack applications on AWS . Version 3 is a complete rewrite using Pulumi under the hood, with a dramatically simpler API. SST v3 lets you define your entire AWS infrastructure in TypeScript — and deploy it with a single command. Quick Start npx sst@latest init npx sst dev This gives you a live development environment with real AWS resources — not emulators. Define Infrastructure // sst.config.ts export default $config ({ app ( input ) { return { name : " my-app " , home : " aws " , }; }, async run () { // Create an API const api = new sst . aws . ApiGatewayV2 ( " MyApi " ); api . route ( " GET / " , " packages/functions/src/hello.handler " ); api . route ( " GET /users " , " packages/functions/src/users.list " ); api . route ( " POST /users " , " packages/functions/src/users.create " ); // Create a database const db = new sst . aws . Dynamo ( " MyTable " , { fields : { pk : " string " , sk : " string " }, primaryIndex
Continue reading on Dev.to Tutorial
Opens in a new tab


