{"id":20543933,"url":"https://github.com/drewmoore/aws_api_gateway_jwt_local","last_synced_at":"2026-05-21T16:08:50.011Z","repository":{"id":227125472,"uuid":"770516218","full_name":"drewmoore/aws_api_gateway_jwt_local","owner":"drewmoore","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-11T18:00:53.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T15:37:01.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewmoore.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}},"created_at":"2024-03-11T17:26:55.000Z","updated_at":"2024-03-11T18:00:58.000Z","dependencies_parsed_at":"2024-03-11T19:25:00.681Z","dependency_job_id":"976caeaa-1f3a-4ebf-9a1a-03b19dd926d3","html_url":"https://github.com/drewmoore/aws_api_gateway_jwt_local","commit_stats":null,"previous_names":["drewmoore/aws_api_gateway_jwt_local"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmoore%2Faws_api_gateway_jwt_local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmoore%2Faws_api_gateway_jwt_local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmoore%2Faws_api_gateway_jwt_local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewmoore%2Faws_api_gateway_jwt_local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewmoore","download_url":"https://codeload.github.com/drewmoore/aws_api_gateway_jwt_local/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242150748,"owners_count":20080006,"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-16T01:41:25.173Z","updated_at":"2026-05-21T16:08:44.960Z","avatar_url":"https://github.com/drewmoore.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a development tool that allows for you to send requests through an AWS API Gateway to your locally running app. Authentication occurs using jwt openid auth, also running an openid server locally.\n\nThis assumes to be running in a subfolder of another project. The host project is assumed to use docker compose, and the name of your main app's service is assumed to be `my-app` (not a perfect drop-in for any project, I'll admit). Your app's main service and this add-on use an external network named `my_app`.\n\n## Getting Started\n\nInstall ngrok and create free account. Store the api key in the `.env.ngrok` file:\n```sh\ncp .env.ngrok.example .env.ngrok\n```\n\nFollow the instructions for setting up your environment for terraform in [./infra](./infra/README.md)\n\nTo run the app and manage the infrastucture, run:\n\n```sh\nmake\n```\n\nThen you can generate a jwt for authentication with the API Gateway:\n\n```sh\nmake jwt\n```\nUse this in the header `Authorization: Bearer TOKEN`\nTip: you can use [jwt.io](https://jwt.io) to inspect tokens\n\nTo just run the app:\n\n```sh\nmake app\n```\n\nOr if you just need to apply the infrastructure configuration:\n\n```sh\nmake apply_infra\n```\n\nTo teardown the local app but not the cloud infrastructure:\n\n```sh\nmake teardown_app\n```\n\nTo teardown the cloud infrastructure:\n\n```sh\nmake teardown_infra\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewmoore%2Faws_api_gateway_jwt_local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewmoore%2Faws_api_gateway_jwt_local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewmoore%2Faws_api_gateway_jwt_local/lists"}