{"id":18283564,"url":"https://github.com/thesmartmonkey/create-serverless-aws-webhook","last_synced_at":"2025-04-09T05:42:51.181Z","repository":{"id":242277419,"uuid":"808822706","full_name":"TheSmartMonkey/create-serverless-aws-webhook","owner":"TheSmartMonkey","description":"Serverless Webhook service on AWS with SNS and SQS","archived":false,"fork":false,"pushed_at":"2024-09-03T14:07:25.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T00:19:05.366Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheSmartMonkey.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}},"created_at":"2024-05-31T22:41:31.000Z","updated_at":"2024-09-03T14:07:29.000Z","dependencies_parsed_at":"2024-08-13T23:37:59.606Z","dependency_job_id":"a97257a0-3391-4633-be4a-910418933c0d","html_url":"https://github.com/TheSmartMonkey/create-serverless-aws-webhook","commit_stats":null,"previous_names":["thesmartmonkey/create-serverless-aws-webhook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-aws-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-aws-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-aws-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-aws-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSmartMonkey","download_url":"https://codeload.github.com/TheSmartMonkey/create-serverless-aws-webhook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987108,"owners_count":21028891,"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-05T13:09:56.972Z","updated_at":"2025-04-09T05:42:51.163Z","avatar_url":"https://github.com/TheSmartMonkey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-serverless-aws-webhook\n\nBased on : https://github.com/cdk-patterns/serverless/blob/main/the-big-fan/README.md\n\nYou should explore the contents of this project. It demonstrates a CDK app with an instance of a stack (`CreateServerlessAwsWebhookStack`)\nwhich contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.\n\nThe `cdk.json` file tells the CDK Toolkit how to execute your app.\n\n## Useful commands\n\n* `npm run build`   compile typescript to js\n* `npm run watch`   watch for changes and compile\n* `npm run test`    perform the jest unit tests\n* `cdk deploy`      deploy this stack to your default AWS account/region\n* `cdk diff`        compare deployed stack with current state\n* `cdk synth`       emits the synthesized CloudFormation template\n\n## Getting started\n\n`localstack start -d`\n`cdklocal bootstrap --profile localstack`\n`cdklocal deploy --profile localstack`\n\n## Test the stack\n\nInvoke lambda\n\n```sh\nawslocal lambda invoke --function-name CreateServerlessAwsWebhookSta-AllStatusFunctionE79FA16-ea36deec --cli-binary-format raw-in-base64-out --payload '{\"body\": \"{\\\"num1\\\": \\\"10\\\", \\\"num2\\\": \\\"10\\\"}\" }' output.txt\n```\n\n```sh\ncurl -X POST http://localhost:4566/2015-03-31/functions/CreateServerlessAwsWebhookSta-AllStatusFunctionE79FA16-ea36deec/invocations -H \"Content-Type: application/json\" -d '{\"key1\": \"value1\"}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartmonkey%2Fcreate-serverless-aws-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesmartmonkey%2Fcreate-serverless-aws-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartmonkey%2Fcreate-serverless-aws-webhook/lists"}