{"id":18573143,"url":"https://github.com/localstack-samples/sample-cdk-typescript-hot-reloading","last_synced_at":"2026-01-30T01:34:48.207Z","repository":{"id":247778185,"uuid":"815123446","full_name":"localstack-samples/sample-cdk-typescript-hot-reloading","owner":"localstack-samples","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-14T13:07:21.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-10T16:50:26.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localstack-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-14T12:00:28.000Z","updated_at":"2024-07-10T11:59:28.000Z","dependencies_parsed_at":"2024-07-10T15:15:07.154Z","dependency_job_id":"d609e31d-bc15-42b6-89f4-dbb192c9a743","html_url":"https://github.com/localstack-samples/sample-cdk-typescript-hot-reloading","commit_stats":null,"previous_names":["localstack-samples/sample-cdk-typescript-hot-reloading"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack-samples%2Fsample-cdk-typescript-hot-reloading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack-samples%2Fsample-cdk-typescript-hot-reloading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack-samples%2Fsample-cdk-typescript-hot-reloading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack-samples%2Fsample-cdk-typescript-hot-reloading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localstack-samples","download_url":"https://codeload.github.com/localstack-samples/sample-cdk-typescript-hot-reloading/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239309239,"owners_count":19617848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T23:08:09.947Z","updated_at":"2026-01-30T01:34:43.175Z","avatar_url":"https://github.com/localstack-samples.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hot Reloading TypeScript Lambda Functions with Cloud Development Kit (CDK)\n\n| Key          | Value                             |\n| ------------ | --------------------------------- |\n| Environment  | LocalStack                        |\n| Services     | Lambda                            |\n| Integrations | Cloud Development Kit             |\n| Categories   | Serverless; Developer Experience  |\n\n## Introduction\n\nA demonstration of how to hot reload TypeScript Lambda functions with the Cloud Development Kit (CDK) using LocalStack. For more details on LocalStack's Hot Reloading feature, see the [documentation](https://docs.localstack.cloud/user-guide/lambda-tools/hot-reloading/).\n\n## Prerequisites\n\n* [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation)\n* [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) with [`awslocal`](https://docs.localstack.cloud/user-guide/integrations/aws-cli/#localstack-aws-cli-awslocal)\n* [Node.js](https://nodejs.org/en/download/)\n* [Docker](https://docs.docker.com/get-docker/)\n* [AWS CDK](https://docs.aws.amazon.com/cdk/latest/guide/work-with-cdk-typescript.html) with [`cdklocal`](https://docs.localstack.cloud/user-guide/integrations/aws-cdk)\n\n## Check prerequisites\n\n```bash\nmake check\n```\n\n## Installation\n\n```bash\nmake install\n```\n\n## Start LocalStack\n\n```bash\nmake start\n```\n\n## Deploy the Application\n\n```bash\nmake deploy\n```\n\nThe deployment process:\n\n* Compiles the TypeScript Lambda function.\n* Bootstraps the CDK application.\n* Deploys the CDK stack to LocalStack.\n\n## Run a test invocation\n\n```bash\nmake run\n```\n\nGo to `lib/fn/index.ts` and make a change to the Lambda function. Save the file and re-run the test invocation. The changes should be reflected in the output.\n\n## Cleanup\n\n```bash\nmake stop\n```\n\n## License\n\nThis code is available under the Apache 2.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalstack-samples%2Fsample-cdk-typescript-hot-reloading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalstack-samples%2Fsample-cdk-typescript-hot-reloading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalstack-samples%2Fsample-cdk-typescript-hot-reloading/lists"}