{"id":20031698,"url":"https://github.com/andrejmaya/aws-sam-examples","last_synced_at":"2025-05-05T04:31:32.489Z","repository":{"id":86054489,"uuid":"141869705","full_name":"andrejmaya/aws-sam-examples","owner":"andrejmaya","description":"Simple SAM based functions like SendMail with Lambda, Python app with DynamoDB and others","archived":false,"fork":false,"pushed_at":"2018-08-30T22:20:21.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T17:06:06.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/andrejmaya.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}},"created_at":"2018-07-22T05:53:10.000Z","updated_at":"2022-01-03T10:00:41.000Z","dependencies_parsed_at":"2023-03-05T11:30:16.467Z","dependency_job_id":null,"html_url":"https://github.com/andrejmaya/aws-sam-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejmaya%2Faws-sam-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejmaya%2Faws-sam-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejmaya%2Faws-sam-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejmaya%2Faws-sam-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrejmaya","download_url":"https://codeload.github.com/andrejmaya/aws-sam-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252439748,"owners_count":21748063,"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-13T09:34:24.570Z","updated_at":"2025-05-05T04:31:32.482Z","avatar_url":"https://github.com/andrejmaya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS SAM Examples\n\n# Overview\nThis repository contain following SAM based functions:\n* app.py: simple Hello World example\n* SendEmail: sending Email with Lambda and API Gateway\n\n## Usage\n* Create a S3 bucket: `aws s3 mb s3://$S3_BUCKET`\n* Build project: see `build` in `buildspec.yml`\n* Deploy:\n\n```\naws cloudformation deploy --template-file ./serverless-output.yaml --stack-name $S3_BUCKET --capabilities=CAPABILITY_IAM\n```\n\n## Test Lambda locally \n* `sam local start-lambda` + `sam local invoke HelloWorldFunction --event ./test/HelloWorldPayload.json`\n\n## Test Api locally \n* `sam local start-api` + `curl http://localhost:3000/hello?name=SAM_TEST`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrejmaya%2Faws-sam-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrejmaya%2Faws-sam-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrejmaya%2Faws-sam-examples/lists"}