{"id":22389434,"url":"https://github.com/hoffmano/encrypt-serverless","last_synced_at":"2025-03-26T21:25:54.138Z","repository":{"id":123438247,"uuid":"451469298","full_name":"Hoffmano/encrypt-serverless","owner":"Hoffmano","description":"Encrypt serverless functions","archived":false,"fork":false,"pushed_at":"2022-01-24T13:11:29.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-01T03:25:41.703Z","etag":null,"topics":["aws","aws-lambda","javascript","serverless","serverless-framework"],"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/Hoffmano.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-01-24T13:11:27.000Z","updated_at":"2022-07-14T19:17:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7c879ee-dd97-4c37-ab19-beccb286d43f","html_url":"https://github.com/Hoffmano/encrypt-serverless","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/Hoffmano%2Fencrypt-serverless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hoffmano%2Fencrypt-serverless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hoffmano%2Fencrypt-serverless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hoffmano%2Fencrypt-serverless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hoffmano","download_url":"https://codeload.github.com/Hoffmano/encrypt-serverless/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245737616,"owners_count":20664143,"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","aws-lambda","javascript","serverless","serverless-framework"],"created_at":"2024-12-05T03:11:52.241Z","updated_at":"2025-03-26T21:25:54.123Z","avatar_url":"https://github.com/Hoffmano.png","language":"JavaScript","readme":"\u003c!--\ntitle: 'AWS NodeJS Example'\ndescription: 'This template demonstrates how to deploy a NodeJS function running on AWS Lambda using the traditional Serverless Framework.'\nlayout: Doc\nframework: v2\nplatform: AWS\nlanguage: nodeJS\npriority: 1\nauthorLink: 'https://github.com/serverless'\nauthorName: 'Serverless, inc.'\nauthorAvatar: 'https://avatars1.githubusercontent.com/u/13742415?s=200\u0026v=4'\n--\u003e\n\n\n# Serverless Framework AWS NodeJS Example\n\nThis template demonstrates how to deploy a NodeJS function running on AWS Lambda using the traditional 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```\n$ serverless deploy\n```\n\nAfter running deploy, you should see output similar to:\n\n```bash\nServerless: Packaging service...\nServerless: Excluding development dependencies...\nServerless: Creating Stack...\nServerless: Checking Stack create progress...\n........\nServerless: Stack create finished...\nServerless: Uploading CloudFormation file to S3...\nServerless: Uploading artifacts...\nServerless: Uploading service aws-node.zip file to S3 (711.23 KB)...\nServerless: Validating template...\nServerless: Updating Stack...\nServerless: Checking Stack update progress...\n.................................\nServerless: Stack update finished...\nService Information\nservice: aws-node\nstage: dev\nregion: us-east-1\nstack: aws-node-dev\nresources: 6\nfunctions:\n  api: aws-node-dev-hello\nlayers:\n  None\n```\n\n### Invocation\n\nAfter successful deployment, you can invoke the deployed function by using the following command:\n\n```bash\nserverless invoke --function hello\n```\n\nWhich should result in response similar to the following:\n\n```json\n{\n    \"statusCode\": 200,\n    \"body\": \"{\\n  \\\"message\\\": \\\"Go Serverless v2.0! Your function executed successfully!\\\",\\n  \\\"input\\\": {}\\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 v2.0! Your function executed successfully!\\\",\\n  \\\"input\\\": \\\"\\\"\\n}\"\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoffmano%2Fencrypt-serverless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoffmano%2Fencrypt-serverless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoffmano%2Fencrypt-serverless/lists"}