{"id":20697434,"url":"https://github.com/epomatti/aws-apigateway-lambda-microservices","last_synced_at":"2026-05-18T04:12:03.829Z","repository":{"id":221189920,"uuid":"752877293","full_name":"epomatti/aws-apigateway-lambda-microservices","owner":"epomatti","description":"Services implemented with AWS SAM","archived":false,"fork":false,"pushed_at":"2024-02-06T15:12:55.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T18:32:12.224Z","etag":null,"topics":["api-gateway","aws","aws-apigateway","aws-sam","java","lambda","microservices","sam","serverless","sqs"],"latest_commit_sha":null,"homepage":"","language":"Java","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/epomatti.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-02-05T02:30:16.000Z","updated_at":"2024-02-06T15:13:49.000Z","dependencies_parsed_at":"2024-02-06T17:44:00.499Z","dependency_job_id":null,"html_url":"https://github.com/epomatti/aws-apigateway-lambda-microservices","commit_stats":null,"previous_names":["epomatti/aws-apigateway-lambda-microservices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epomatti/aws-apigateway-lambda-microservices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-apigateway-lambda-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-apigateway-lambda-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-apigateway-lambda-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-apigateway-lambda-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epomatti","download_url":"https://codeload.github.com/epomatti/aws-apigateway-lambda-microservices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-apigateway-lambda-microservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33164672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","aws-apigateway","aws-sam","java","lambda","microservices","sam","serverless","sqs"],"created_at":"2024-11-17T00:18:04.354Z","updated_at":"2026-05-18T04:12:03.814Z","avatar_url":"https://github.com/epomatti.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Gateway with Lambda services\n\nIn case you need a simple API solution with Lambda \"nano\" services, this is a small sample project with AWS SAM. Make sure to [choose between][1] the HTTP and REST API models. Look into the best authentication model, and add appropriate monitoring and tracing capabilities.\n\n\u003cimg src=\".assets/apigateway.png\" width=500 /\u003e\n\nRun the commands from the `integration` directory:\n\n```sh\ncd integration\n```\n\nBuild and deploy the application:\n\n```sh\nsam build\nsam deploy --guided\n```\n\nServices will be available using `POST` published in the API Gateway endpoint in the `$default` stage:\n\n```\ncurl -X POST https://\u003capi-id\u003e.execute-api.us-east-2.amazonaws.com/documents\n```\n\n## Commands\n\nCommands reference:\n\n```sh\nsam init --name integration --package-type Zip --architecture arm64 --runtime java21\nsam build\nsam validate\nsam local invoke\nsam sync --stack-name {{stack-name}} --watch\nsam deploy --guided\nsam local generate-event sqs receive-message --body '{\"hello\": \"world\"}'\nsam local invoke ServerlessConsumerFunction --event events/sqs.json\nsam delete\n```\n\n## Sources\n\n- [AWS::Serverless::HttpApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-httpapi.html)\n- [AWS - API Gateway HTTP API JWT authorizer](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-jwt-authorizer.html)\n- [AWS - SAM HTTP API OAuth2 authorizer](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-oauth2authorizer.html)\n- [AWS - GitHub Java SDK v2 SQS Sample](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/example_code/sqs)\n- [AWS - Lambda SQS sample](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs-example.html)\n- [Medium - API Gateway with AWS SAM template](https://medium.com/carsales-dev/api-gateway-with-aws-sam-template-c05afdd9cafe)\n- [SO - Run SQS locally with AWS SAM](https://stackoverflow.com/questions/70776865/run-sqs-on-aws-sam-locally-is-it-possible)\n\n[1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Faws-apigateway-lambda-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepomatti%2Faws-apigateway-lambda-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Faws-apigateway-lambda-microservices/lists"}