{"id":19590488,"url":"https://github.com/martinsmessias/serverless_api_crud_aws","last_synced_at":"2026-01-24T08:07:11.034Z","repository":{"id":173779501,"uuid":"461559224","full_name":"MartinsMessias/serverless_api_crud_aws","owner":"MartinsMessias","description":"API Gateway + Lambda + DynamoDB + Serverless Framework + Python + Actions","archived":false,"fork":false,"pushed_at":"2022-02-27T14:41:34.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-30T19:28:50.668Z","etag":null,"topics":["actions","api-gateway","dynamodb","lambda","python","serverless"],"latest_commit_sha":null,"homepage":"","language":"Python","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/MartinsMessias.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":"2022-02-20T17:16:07.000Z","updated_at":"2022-02-27T03:55:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"afeb5e47-93c7-4a96-b03a-d430db033c77","html_url":"https://github.com/MartinsMessias/serverless_api_crud_aws","commit_stats":null,"previous_names":["martinsmessias/serverless_api_crud_aws"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MartinsMessias/serverless_api_crud_aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinsMessias%2Fserverless_api_crud_aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinsMessias%2Fserverless_api_crud_aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinsMessias%2Fserverless_api_crud_aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinsMessias%2Fserverless_api_crud_aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinsMessias","download_url":"https://codeload.github.com/MartinsMessias/serverless_api_crud_aws/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinsMessias%2Fserverless_api_crud_aws/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28720454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T05:53:42.649Z","status":"ssl_error","status_checked_at":"2026-01-24T05:53:41.698Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["actions","api-gateway","dynamodb","lambda","python","serverless"],"created_at":"2024-11-11T08:24:58.951Z","updated_at":"2026-01-24T08:07:11.001Z","avatar_url":"https://github.com/MartinsMessias.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\ntitle: 'AWS Simple HTTP Endpoint example in Python'\ndescription: 'This template demonstrates how to make a simple HTTP API with Python running on AWS Lambda and API Gateway using the Serverless Framework.'\nlayout: Doc\nframework: v3\nplatform: AWS\nlanguage: python\nauthorLink: 'https://github.com/serverless'\nauthorName: 'Serverless, inc.'\nauthorAvatar: 'https://avatars1.githubusercontent.com/u/13742415?s=200\u0026v=4'\n--\u003e\n[![Deploy main branch](https://github.com/MartinsMessias/serverless_api_crud_aws/actions/workflows/aws.yml/badge.svg?branch=main)](https://github.com/MartinsMessias/serverless_api_crud_aws/actions/workflows/aws.yml)\n# Serverless Framework Python HTTP API on AWS\n## Usage\n\n### Deployment\n\n```\n$ serverless deploy\n```\n\nAfter deploying, you should see output similar to:\n\n```bash\nDeploying aws-python-http-api-project to stage dev (us-east-1)\n\n✔ Service deployed to stack aws-python-http-api-project-dev (140s)\n\nendpoint: GET - https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/\nfunctions:\n  hello: aws-python-http-api-project-dev-hello (2.3 kB)\n```\n\n_Note_: In current form, after deployment, your API is public and can be invoked by anyone. For production deployments, you might want to configure an authorizer. For details on how to do that, refer to [http event docs](https://www.serverless.com/framework/docs/providers/aws/events/apigateway/).\n\n### Invocation\n\nAfter successful deployment, you can call the created application via HTTP:\n\n```bash\ncurl https://xxxxxxx.execute-api.us-east-1.amazonaws.com/\n```\n\nWhich should result in response similar to the following (removed `input` content for brevity):\n\n```json\n{\n  \"message\": \"Go Serverless v3.0! Your function executed successfully!\",\n  \"input\": {\n    ...\n  }\n}\n```\n\n### Local development\n\nYou can invoke your function locally by using the following command:\n\n```bash\nserverless invoke local --function hello\n```\n\nWhich should result in response similar to the following:\n\n```\n{\n  \"statusCode\": 200,\n  \"body\": \"{\\n  \\\"message\\\": \\\"Go Serverless v3.0! Your function executed successfully!\\\",\\n  \\\"input\\\": \\\"\\\"\\n}\"\n}\n```\n\nAlternatively, it is also possible to emulate API Gateway and Lambda locally by using `serverless-offline` plugin. In order to do that, execute the following command:\n\n```bash\nserverless plugin install -n serverless-offline\n```\n\nIt will add the `serverless-offline` plugin to `devDependencies` in `package.json` file as well as will add it to `plugins` in `serverless.yml`.\n\nAfter installation, you can start local emulation with:\n\n```\nserverless offline\n```\n\nTo learn more about the capabilities of `serverless-offline`, please refer to its [GitHub repository](https://github.com/dherault/serverless-offline).\n\n### Bundling dependencies\n\nIn case you would like to include 3rd party dependencies, you will need to use a plugin called `serverless-python-requirements`. You can set it up by running the following command:\n\n```bash\nserverless plugin install -n serverless-python-requirements\n```\n\nRunning the above will automatically add `serverless-python-requirements` to `plugins` section in your `serverless.yml` file and add it as a `devDependency` to `package.json` file. The `package.json` file will be automatically created if it doesn't exist beforehand. Now you will be able to add your dependencies to `requirements.txt` file (`Pipfile` and `pyproject.toml` is also supported but requires additional configuration) and they will be automatically injected to Lambda package during build process. For more details about the plugin's configuration, please refer to [official documentation](https://github.com/UnitedIncome/serverless-python-requirements).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinsmessias%2Fserverless_api_crud_aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinsmessias%2Fserverless_api_crud_aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinsmessias%2Fserverless_api_crud_aws/lists"}