{"id":31078170,"url":"https://github.com/davidyen1124/techmap","last_synced_at":"2026-05-05T19:32:17.941Z","repository":{"id":313726401,"uuid":"1051529330","full_name":"davidyen1124/techmap","owner":"davidyen1124","description":"AWS CDK (TypeScript) stack: CloudFront+S3 static site, API Gateway+Lambda, DynamoDB, EventBridge — techmap","archived":false,"fork":false,"pushed_at":"2025-09-08T03:17:28.000Z","size":626,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-16T08:19:29.209Z","etag":null,"topics":["api-gateway","aws","cdk","cloudfront","dynamodb","eventbridge","iac","infrastructure-as-code","lambda","nodejs","s3","serverless","static-site","typescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/davidyen1124.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-06T07:18:38.000Z","updated_at":"2025-09-08T03:17:31.000Z","dependencies_parsed_at":"2025-09-08T05:32:46.972Z","dependency_job_id":"74fe74a6-4621-4b90-9059-666e4ebdd1f7","html_url":"https://github.com/davidyen1124/techmap","commit_stats":null,"previous_names":["davidyen1124/techmap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidyen1124/techmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidyen1124%2Ftechmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidyen1124%2Ftechmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidyen1124%2Ftechmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidyen1124%2Ftechmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidyen1124","download_url":"https://codeload.github.com/davidyen1124/techmap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidyen1124%2Ftechmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32664860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api-gateway","aws","cdk","cloudfront","dynamodb","eventbridge","iac","infrastructure-as-code","lambda","nodejs","s3","serverless","static-site","typescript"],"created_at":"2025-09-16T08:05:52.672Z","updated_at":"2026-05-05T19:32:17.936Z","avatar_url":"https://github.com/davidyen1124.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TechMap AWS — Because Clouds Need Supervision\n\n\u003cdiv align=\"center\"\u003e\n\n\u003c!-- It’s badge o’clock. Enjoy the retina burn. --\u003e\n\n![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![AWS CDK](https://img.shields.io/badge/AWS%20CDK-v2-orange?style=for-the-badge\u0026logo=amazon-aws\u0026logoColor=white)\n![Node](https://img.shields.io/badge/Node-%3E%3D18-brightgreen?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\n![IaC](https://img.shields.io/badge/IaC-Yes-success?style=for-the-badge\u0026logo=terraform\u0026logoColor=white)\n![CI](https://img.shields.io/badge/CI-YOLO-critical?style=for-the-badge)\n![Linted](https://img.shields.io/badge/Lint-Probably-green?style=for-the-badge\u0026logo=eslint\u0026logoColor=white)\n![Prettier](https://img.shields.io/badge/Code%20Style-Prettier-ff69b4?style=for-the-badge\u0026logo=prettier\u0026logoColor=white)\n![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow?style=for-the-badge\u0026logo=conventionalcommits\u0026logoColor=white)\n![SemVer](https://img.shields.io/badge/SemVer-2.0.0-informational?style=for-the-badge)\n![PRs Welcome](https://img.shields.io/badge/PRs-Welcome-00cc99?style=for-the-badge)\n![License](https://img.shields.io/badge/License-ISC-lightgrey?style=for-the-badge)\n![Security](https://img.shields.io/badge/Security-Please-Important?style=for-the-badge)\n![Coverage](https://img.shields.io/badge/Coverage-100%25*-%23c0ffee?style=for-the-badge)\n![Works On My Machine](https://img.shields.io/badge/Works%20On-My%20Machine-blueviolet?style=for-the-badge)\n![Zero Downtime](https://img.shields.io/badge/Downtime-Zero%20(ish)-success?style=for-the-badge)\n![Bug Free](https://img.shields.io/badge/Bug%20Free-Trust%20Me-red?style=for-the-badge)\n![Deploy Button](https://img.shields.io/badge/Deploy-Now-9cf?style=for-the-badge)\n![Sarcasm Level](https://img.shields.io/badge/Sarcasm-High-critical?style=for-the-badge)\n![Coffee](https://img.shields.io/badge/Coffee-Required-brown?style=for-the-badge)\n\n \u003c/div\u003e\n\nWelcome to TechMap AWS, a TypeScript CDK project that deploys a static site on CloudFront + S3, a DynamoDB table, two Lambda functions, an API Gateway REST API, and a scheduled refresh job. It’s opinionated, reasonably small, and built to get you from zero to useful quickly.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./screenshot.png\" alt=\"TechMap AWS screenshot\" width=\"800\" /\u003e\n  \u003c!-- Set explicit width so it renders smaller on GitHub --\u003e\n\u003c/p\u003e\n\n## What Is This?\n\n- TypeScript CDK app for a small web/data stack.\n- Static site served via CloudFront with S3 origin.\n- API Gateway proxying to Lambda for `GET /api/companies`.\n- DynamoDB on-demand table for storage.\n- EventBridge rule to refresh data on a schedule.\n\n## Features\n\n- Single stack with sensible defaults.\n- Secure by default (S3 private + OAI, HTTPS only).\n- CORS enabled for the API.\n- Zero-config table/func names; outputs include API URL and CloudFront domain.\n\n## Repo Layout\n\n- `infra/` — CDK app and stack code. Class: `InfraStack`; stack id: `techmap`.\n- `lambda/` — Lambda handlers: `getCompanies.js`, `refresh.js`.\n- `infra/site/` — Static site assets deployed to S3 and served by CloudFront.\n\n## Quickstart\n\nYou’ll need Node 18+, AWS credentials, and permissions to create IAM roles, CloudFront, S3, API Gateway, DynamoDB, and EventBridge.\n\n```bash\n# 1) Install deps\ncd infra \u0026\u0026 npm install\n\n# 2) Optional: build TypeScript\nnpm run build\n\n# 3) (First time per account/region) Bootstrap\nnpx cdk bootstrap\n\n# 4) See the plan\nnpx cdk diff techmap\n\n# 5) Deploy the stack\nnpx cdk deploy techmap\n\n# 6) Tear it down\nnpx cdk destroy techmap\n```\n\n## Useful Commands\n\n```bash\ncd infra\nnpm run build          # Compile TS\nnpx cdk list           # Stacks in this app\nnpx cdk synth techmap  # Generate CloudFormation\nnpx cdk doctor         # Environment diagnostics\n```\n\n## FAQ\n\n- “What’s the stack name?”  \n  The stack id is `techmap`. The CDK app instantiates `new InfraStack(app, 'techmap')`.\n\n- “Is this safe to deploy?”  \n  It defaults to `RemovalPolicy.DESTROY` for convenience. Change to `RETAIN` for production and review IAM policies.\n\n- “Where do I find endpoints?”  \n  After deploy, check the CDK outputs for `ApiUrl` and `CloudFrontDomain`.\n\n- “Why so many badges?”  \n  Management asked for “more visibility.” We delivered.\n\n## Contributing\n\nPRs welcome! Extra points for PR titles that double as haikus and commit messages that follow Conventional Commits so the release notes look like they were written by a very organized robot.\n\n## License\n\nISC — the ‘I’m So Chill’ license. See `package.json` for details you will not read.\n\n---\n\nIf you made it this far, congrats. You’re the SRE now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidyen1124%2Ftechmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidyen1124%2Ftechmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidyen1124%2Ftechmap/lists"}