{"id":18733441,"url":"https://github.com/patrickpang/mangonel","last_synced_at":"2026-01-25T02:33:48.600Z","repository":{"id":158054736,"uuid":"397603031","full_name":"patrickpang/mangonel","owner":"patrickpang","description":"Throw your TypeScript function onto AWS Lambda","archived":false,"fork":false,"pushed_at":"2021-08-18T14:26:46.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T23:43:41.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickpang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-08-18T13:04:00.000Z","updated_at":"2021-08-23T11:01:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"97ee39ae-4264-476b-ba6d-95679b4e6584","html_url":"https://github.com/patrickpang/mangonel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patrickpang/mangonel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpang%2Fmangonel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpang%2Fmangonel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpang%2Fmangonel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpang%2Fmangonel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickpang","download_url":"https://codeload.github.com/patrickpang/mangonel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpang%2Fmangonel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T01:40:51.112Z","status":"online","status_checked_at":"2026-01-25T02:00:06.841Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07T15:09:48.738Z","updated_at":"2026-01-25T02:33:48.595Z","avatar_url":"https://github.com/patrickpang.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mangonel\n\nStarter template for AWS Lambda using Node.js, TypeScript, Terraform\n\n\u003e When you surround an army, leave an outlet free. — Sun Tzu\n\n![Mangonel Illustration](https://upload.wikimedia.org/wikipedia/commons/e/ef/Perriere_from_french_book_of_1250.jpg)\n\n## Setup\n\nInstall the following tools before getting started:\n\n- [ ] [Node.js](https://nodejs.org/en/)\n- [ ] [pnpm](https://pnpm.io/)\n- [ ] [aws-cli](https://aws.amazon.com/cli/)\n- [ ] [Terraform](https://www.terraform.io/)\n\n## Initialize\n\nYou only have to do this once after cloning.\n\nInitialize AWS credentials:\n\n```shell\n$ aws configure\n```\n\nInitialize Node.js workspace:\n\n```shell\n$ cd hello-world-lambda\n$ pnpm install\n```\n\nInitialize Terraform workspace:\n\n```shell\n$ cd infra\n$ terraform init\n```\n\n## Deploy\n\nUse the shell script to create the lambda package and deploy to AWS:\n\n```shell\n$ ./deploy.sh\n```\n\n## Test\n\nInvoke the lambda from AWS Management Console.\nYou can use the below example payload:\n\n```json\n{\n  \"name\": \"Patrick\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickpang%2Fmangonel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickpang%2Fmangonel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickpang%2Fmangonel/lists"}