{"id":23431028,"url":"https://github.com/codegenieapp/cloudfront-lambda-url-vs-apigw","last_synced_at":"2026-01-24T08:04:31.256Z","repository":{"id":257189973,"uuid":"857563423","full_name":"CodeGenieApp/cloudfront-lambda-url-vs-apigw","owner":"CodeGenieApp","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-18T10:06:16.000Z","size":17216,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-23T09:49:05.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeGenieApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-09-15T01:36:38.000Z","updated_at":"2024-09-18T10:06:21.000Z","dependencies_parsed_at":"2024-09-18T13:24:16.779Z","dependency_job_id":null,"html_url":"https://github.com/CodeGenieApp/cloudfront-lambda-url-vs-apigw","commit_stats":null,"previous_names":["brettstack/cloudfront-apigw-lambda","codegenieapp/cloudfront-lambda-url-vs-apigw"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGenieApp%2Fcloudfront-lambda-url-vs-apigw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGenieApp%2Fcloudfront-lambda-url-vs-apigw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGenieApp%2Fcloudfront-lambda-url-vs-apigw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGenieApp%2Fcloudfront-lambda-url-vs-apigw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeGenieApp","download_url":"https://codeload.github.com/CodeGenieApp/cloudfront-lambda-url-vs-apigw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238968639,"owners_count":19560594,"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-12-23T09:49:12.484Z","updated_at":"2025-10-30T13:30:15.854Z","avatar_url":"https://github.com/CodeGenieApp.png","language":"TypeScript","readme":"## Pre-requisites\n\n- [AWS Account + CLI](https://docs.aws.amazon.com/polly/latest/dg/setup-aws-cli.html)\n- Node.js\n\n## Getting started\n\nRun `npm run init:dev` to deploy a developer instance to your AWS account. This command does the following:\n\n1. Installs NPM dependencies (`npm i`)\n1. Creates a new entry in `~/.aws/credentials` called `recipes_development` using credentials copied from the `default` profile.\n   - If you'd rather copy credentials from a different profile, run `COPY_AWS_PROFILE=profile-name-to-copy npm run init:dev`, or if you'd rather not copy any credentials, run `COPY_AWS_PROFILE=0 npm run init:dev` (this requires you to manually define a profile named `recipes_development`).\n1. Bootstraps CDK in the AWS account (`npm run cdk-bootstrap:dev`)\n1. Deploys to AWS (`npm run deploy:dev`)\n   - Since the UI has a dependency on Cognito and the API, this setup command actually runs deploy a second time.\n1. Copies CloudFormation/CDK outputs to local `.env` files for running the UI and API locally.\n1. Opens the live version of the web app.\n\n## Developing\n\nAfter deploying to your developer AWS account, start the UI locally with:\n\n```\nnpm run start-ui:dev\n```\n\nIf you want to run your UI against a local version of your API, instead run these two commands in separate terminals:\n\n```\nnpm run start-api:dev\n```\n\n```\nnpm run start-ui-local-api:dev\n```\n\nNote that this will still use your other cloud resources (e.g. Database and Auth) but allows you to quickly iterate on your UI and API.\n\n## Pull outputs\n\nNote that sometimes when you receive a CDK/CloudFormation error (e.g. after a CloudFormation rollback), the `cdk-outputs.json` file gets wiped and you need to re-run `npm run pull-stack-outputs:dev`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegenieapp%2Fcloudfront-lambda-url-vs-apigw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodegenieapp%2Fcloudfront-lambda-url-vs-apigw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegenieapp%2Fcloudfront-lambda-url-vs-apigw/lists"}