Learn SERVERLESS-STACK with Real Code Examples
Updated Nov 27, 2025
Installation Setup
Install Node.js
Install SST CLI globally or use npx
Initialize SST project
Configure AWS credentials
Run `sst dev` for local development
Environment Setup
Install Node.js
Configure AWS credentials
Install AWS CLI (optional)
Setup IDE TypeScript plugins
Run SST local dev server
Config Files
sst.config.ts
cdk.json (auto-generated)
tsconfig.json for TypeScript
env variables for stages
Frontend build configs
Cli Commands
sst create
sst dev
sst deploy
sst remove
sst console
Internationalization
Depends on frontend framework
API responses can be localized
Environment variables per stage
Supports multi-region deployments
No restrictions on locale-specific data
Accessibility
Leverages frontend framework accessibility
API error messages structured
Consistent environment variable exposure
Console provides app observability
Multi-stage naming consistency
Ui Styling
Not directly applicable - frontend framework decides
SST provides env variables for UI
Can host any SPA/SSR setup
CloudFront caching optimization
SST constructs manage routing
State Management
Environment variables
DynamoDB tables
S3 storage
Parameter Store/Secrets Manager
CDK stack outputs
Data Management
DynamoDB modeling
S3 object storage
API Gateway request/response
Lambda logs + CloudWatch metrics
EventBridge event routing