{"id":20318020,"url":"https://github.com/deadcoder0904/serverless-hello-world","last_synced_at":"2026-05-13T02:07:30.635Z","repository":{"id":106062227,"uuid":"134432189","full_name":"deadcoder0904/serverless-hello-world","owner":"deadcoder0904","description":"🚀 Serverless Hello World example that runs every 2 minutes","archived":false,"fork":false,"pushed_at":"2018-05-24T11:00:01.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T13:17:52.769Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-node","cron","serverless","serverless-framework","serverless-hello-world"],"latest_commit_sha":null,"homepage":null,"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/deadcoder0904.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-05-22T15:00:41.000Z","updated_at":"2019-04-27T10:22:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae8e85fc-79bc-45cf-8752-0318597b540c","html_url":"https://github.com/deadcoder0904/serverless-hello-world","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/deadcoder0904%2Fserverless-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fserverless-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fserverless-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fserverless-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadcoder0904","download_url":"https://codeload.github.com/deadcoder0904/serverless-hello-world/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818899,"owners_count":20025212,"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","aws-lambda-node","cron","serverless","serverless-framework","serverless-hello-world"],"created_at":"2024-11-14T18:37:50.124Z","updated_at":"2026-05-13T02:07:25.602Z","avatar_url":"https://github.com/deadcoder0904.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-hello-world\n\n\u003e 🚀 Serverless Hello World example that runs every 2 minutes\n\nRename `env.example.json` file to `env.json` file when deploying\n\n# 1. Set-Up\n\nMake sure you have Node.js installed and run:\n\n`$ npm i serverless -g`\n\nYou can use `serverless` \u0026 `sls` interchangeably\n\nThen, check the version to make sure you are using V1.16.0, or later:\n\n`$ sls -v`\n\n# 2. Login\n\nFirst, log in to the serverless platform in via the CLI\n\n`$ sls login`\n\nAfter logging into the platfrom via the serverless framework CLI every deploy will be published to the Serverless Platform.\n\n# 3. Create new service\n\nCreate a new service using the Node.js template, specifying a unique name and an optional path for your service.\n\n`$ sls create --template aws-nodejs --path my-service`\n\nChange directory to the new service\n\n`$ cd my-service`\n\n# 4. Deploy the service\n\nUse this when you have made changes to your Functions, Events or Resources in `serverless.yml` or you simply want to deploy all changes within your Service at the same time.\n\nGive it a try with a new service, or an existing service:\n\n`$ sls deploy -v`\n\n# 5. Invoke the Function\n\nInvokes a Function and returns logs.\n\n`$ sls invoke -f hello -l`\n\n# 6. Fetch the Function Logs\n\nOpen up a separate tab in your console, set your Provider Credentials and stream all logs for a specific Function using this command.\n\n`$ sls logs -f hello -t`\n\n# 7. Remove the Function\n\nIf at any point, you no longer need your service, you can run the following command to remove the Functions, Events and Resources that were created, and ensure that you don't incur any unexpected charges.\n\n`$ sls remove`\n\n\u003e To learn more about Serverless, checkout [Serverless Framework](https://serverless.com), [The Power of Serverless](https://thepowerofserverless.info), [Awesome Serverless](https://github.com/anaibol/awesome-serverless) \u0026 [Serverless Stack](https://serverless-stack.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadcoder0904%2Fserverless-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadcoder0904%2Fserverless-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadcoder0904%2Fserverless-hello-world/lists"}