Want to develop serverless applications with TypeScript on AWS? This is the project template for you.
- NPM v7 workspace monorepo
- Infrastructure as code: AWS CDK
- JetKit/CDK anti-framework
Peruse the @jetkit/cdk README and documentation. There is a blog article overview.
-
Install dependencies:
npm i -g aws-cdk@latest npm@latest npm i
-
Deploy backend and infrastructure:
npm run deploy:infra
-
Run local dev server:
-
Install aws-sam-cli-beta-cdk
- macOS:
brew install aws-sam-cli-beta-cdk
- macOS:
-
Run dev server and watch for changes:
-
npm start
-