A CLI to instantly scaffold a production-ready Serverless TypeScript Boilerplate.
- Fast Setup - Scaffold a complete serverless app in seconds
- TypeScript Ready - Full TypeScript support with AWS Lambda and DynamoDB
- Zero Config - Automatically updates project name and installs dependencies
- Production Ready - Includes all configs, sample handlers, and best practices
- Local Development - Docker Compose setup for local DynamoDB testing
- Modern Stack - Node.js 20.x, Serverless Framework, and AWS services
npx create-stb my-appnpm install -g create-stb
create-stb my-appnpx create-stb <project-name>This creates a new directory with your project name in the current folder.
npx create-stb <project-name>
cd pineapple-api
npm run offlineYour serverless API will be running at http://localhost:3000
- β
Serverless Configuration - Pre-configured
serverless.ymlfor AWS Lambda - β TypeScript Setup - Ready-to-use TypeScript configuration
- β DynamoDB Integration - Local DynamoDB with Docker Compose
- β Sample Handlers - Example Lambda functions to get started
- β
Development Scripts -
offline,build,deploycommands - β Code Quality - Prettier configuration for consistent formatting
- β
Environment Config -
.env.examplefor environment variables
- Runtime: Node.js 20.x
- Language: TypeScript
- Framework: Serverless Framework
- Cloud: AWS (Lambda, DynamoDB, API Gateway)
- Local Dev: serverless-offline, Docker
- Node.js >= 20.0.0
- npm >= 10.0.0
- Git (for cloning the template)
Contributions are welcome! Please feel free to submit a Pull Request.
See CONTRIBUTING.md for details.
MIT Β© Sam Newhouse
If you find this tool helpful, please consider:
- β Starring the repository
- π Reporting issues
- π¬ Sharing feedback and suggestions
Thank you for using create-stb! π