Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbridge/typescript-cdk-template
TypeScript / Serverless / CDK application template
https://github.com/jetbridge/typescript-cdk-template
aws backend cdk lambda nodejs serverless typescript
Last synced: about 1 month ago
JSON representation
TypeScript / Serverless / CDK application template
- Host: GitHub
- URL: https://github.com/jetbridge/typescript-cdk-template
- Owner: jetbridge
- Created: 2020-09-27T18:17:53.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-29T19:24:03.000Z (over 3 years ago)
- Last Synced: 2023-03-02T21:26:30.543Z (almost 2 years ago)
- Topics: aws, backend, cdk, lambda, nodejs, serverless, typescript
- Language: TypeScript
- Homepage: https://jetkit.dev
- Size: 6.3 MB
- Stars: 8
- Watchers: 8
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Tests](https://github.com/jetbridge/typescript-cdk-template/actions/workflows/ci.yml/badge.svg)](https://github.com/jetbridge/typescript-cdk-template/actions/workflows/ci.yml)
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/jetbridge/typescript-cdk-template)# Serverless TypeScript Template
Want to develop serverless applications with TypeScript on AWS? This is the project template for you.
## Features
- NPM v7 workspace monorepo
- Infrastructure as code: [AWS CDK](https://docs.aws.amazon.com/cdk/latest/guide/home.html)
- [JetKit/CDK anti-framework](https://www.jetkit.dev/)## Quickstart
Peruse the [@jetkit/cdk README](https://github.com/jetbridge/jetkit-cdk#readme) and [documentation](https://www.jetkit.dev/). There is a [blog article overview](https://spiegelmock.com/2021/05/29/frameworkless-web-applications-aws-cdk/).
1. [Use this template to start a new repo](https://github.com/jetbridge/typescript-cdk-template/generate).
1. Install dependencies:```shell
npm i -g aws-cdk@latest npm@latest
npm i
```1. Deploy backend and infrastructure:
```shell
npm run deploy:infra
```1. Run local dev server:
[More info](https://aws.amazon.com/blogs/compute/better-together-aws-sam-and-aws-cdk/).
- Install [aws-sam-cli-beta-cdk](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-cdk-getting-started.html)
- macOS: `brew install aws-sam-cli-beta-cdk`
- Run dev server and watch for changes:
- ```shell
npm start
```