{"id":25796651,"url":"https://github.com/saatwik-mehta/serverlessv4-deploy-project","last_synced_at":"2026-04-14T10:31:39.526Z","repository":{"id":278942375,"uuid":"937237044","full_name":"Saatwik-Mehta/serverlessV4-deploy-project","owner":"Saatwik-Mehta","description":"A simple project based on Github Actions and serverless framework deployment. It helps to deploy a lambda functions which requires a http-requests library. ","archived":false,"fork":false,"pushed_at":"2025-02-26T10:07:16.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T10:37:15.228Z","etag":null,"topics":["aws-lambda","cloudformation","deployment","github-actions","python3","serverless-framework","sls"],"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/Saatwik-Mehta.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":"2025-02-22T16:56:51.000Z","updated_at":"2025-02-26T10:07:20.000Z","dependencies_parsed_at":"2025-02-22T18:19:19.441Z","dependency_job_id":"1be03fe9-64a1-4c96-8a85-727b575369c8","html_url":"https://github.com/Saatwik-Mehta/serverlessV4-deploy-project","commit_stats":null,"previous_names":["saatwik-mehta/deploy-project","saatwik-mehta/serverlessv4-deploy-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saatwik-Mehta%2FserverlessV4-deploy-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saatwik-Mehta%2FserverlessV4-deploy-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saatwik-Mehta%2FserverlessV4-deploy-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saatwik-Mehta%2FserverlessV4-deploy-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saatwik-Mehta","download_url":"https://codeload.github.com/Saatwik-Mehta/serverlessV4-deploy-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241024808,"owners_count":19896311,"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":["aws-lambda","cloudformation","deployment","github-actions","python3","serverless-framework","sls"],"created_at":"2025-02-27T14:40:13.663Z","updated_at":"2025-12-31T01:12:56.899Z","avatar_url":"https://github.com/Saatwik-Mehta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Serverless(v4) Deploy with GitHub Actions \nSuccessfully deployed the serverless-stack using `Github Actions` and `Serverless-framework` V4.\n\n\u003c!--\ntitle: 'AWS Python Example'\ndescription: 'This template demonstrates how to deploy a Python function running on AWS Lambda using the Serverless Framework.'\nlayout: Doc\nframework: v4\nplatform: AWS\nlanguage: python\npriority: 2\nauthorLink: 'https://github.com/serverless'\nauthorName: 'Serverless, Inc.'\nauthorAvatar: 'https://avatars1.githubusercontent.com/u/13742415?s=200\u0026v=4'\n--\u003e\n\n# Serverless Framework AWS Python Example\n\nThis template demonstrates how to deploy a Python function running on AWS Lambda using the Serverless Framework. The deployed function does not include any event definitions as well as any kind of persistence (database). For more advanced configurations check out the [examples repo](https://github.com/serverless/examples/) which includes integrations with SQS, DynamoDB or examples of functions that are triggered in `cron`-like manner. For details about configuration of specific `events`, please refer to our [documentation](https://www.serverless.com/framework/docs/providers/aws/events/).\n\n## Usage\n\n### Deployment\n\nIn order to deploy the example, you need to run the following command:\n\n```\nserverless deploy\n```\n\nAfter running deploy, you should see output similar to:\n\n```\nDeploying \"aws-python\" to stage \"dev\" (us-east-1)\n\n✔ Service deployed to stack aws-python-dev (90s)\n\nfunctions:\n  hello: aws-python-dev-hello (1.9 kB)\n```\n\n### Invocation\n\nAfter successful deployment, you can invoke the deployed function by using the following command:\n\n```\nserverless invoke --function hello\n```\n\nWhich should result in response similar to the following:\n\n```json\n{\n  \"statusCode\": 200,\n  \"body\": \"{\\\"message\\\": \\\"Go Serverless v4.0! Your function executed successfully!\\\"}\"\n}\n```\n\n### Local development\n\nYou can invoke your function locally by using the following command:\n\n```\nserverless invoke local --function hello\n```\n\nWhich should result in response similar to the following:\n\n```\n{\n  \"statusCode\": 200,\n  \"body\": \"{\\\"message\\\": \\\"Go Serverless v4.0! Your function executed successfully!\\\"}\"\n}\n```\n\n### Bundling dependencies\n\nIn case you would like to include third-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```\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%2Fsaatwik-mehta%2Fserverlessv4-deploy-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaatwik-mehta%2Fserverlessv4-deploy-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaatwik-mehta%2Fserverlessv4-deploy-project/lists"}