{"id":13625095,"url":"https://github.com/diegozanon/serverless-notifications","last_synced_at":"2025-04-11T21:33:07.146Z","repository":{"id":40800325,"uuid":"72846881","full_name":"diegozanon/serverless-notifications","owner":"diegozanon","description":"Serverless Service for Serverless Notifications (AWS IoT)","archived":false,"fork":false,"pushed_at":"2022-12-31T11:09:31.000Z","size":329,"stargazers_count":135,"open_issues_count":4,"forks_count":30,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T17:46:45.132Z","etag":null,"topics":["aws-iot","notifications","serverless"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/diegozanon.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}},"created_at":"2016-11-04T12:43:49.000Z","updated_at":"2024-10-02T05:55:18.000Z","dependencies_parsed_at":"2023-01-31T18:50:24.456Z","dependency_job_id":null,"html_url":"https://github.com/diegozanon/serverless-notifications","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/diegozanon%2Fserverless-notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegozanon%2Fserverless-notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegozanon%2Fserverless-notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegozanon%2Fserverless-notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegozanon","download_url":"https://codeload.github.com/diegozanon/serverless-notifications/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483125,"owners_count":21111429,"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-iot","notifications","serverless"],"created_at":"2024-08-01T21:01:50.788Z","updated_at":"2025-04-11T21:33:07.112Z","avatar_url":"https://github.com/diegozanon.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Serverless Notifications\nServerless Service for Serverless Notifications (AWS IoT)\n\n## Tutorial\n\nBlog post: [Serverless Notifications on AWS](https://web.archive.org/web/20200930220520/https://zanon.io/posts/serverless-notifications-on-aws) (Nov 5th 2016)\n\nNote: at the time it was not an issue, but currently it is necessary to use the ATS IoT endpoint (use `iot.describeEndpoint({ endpointType: 'iot:Data-ATS' }`). The code was fixed in this repository, but not in the blog post.\n\nDemo: https://serverless-notifications.zanon.dev\n\n## Usage\n\n1. With the Serverless Framework v1.x, run `serverless install --url https://github.com/diegozanon/serverless-notifications`\n\n2. Inside the **create-role** folder, run `npm install` and `node index` to create an IoT role. I've named the role as **serverless-notifications-iot**. If you want to rename, modify this file and the **handler.js** file.\n\n3. Deploy the Lambda function with `serverless deploy`\n\n4. Edit the **index.html** file that is placed inside the **frontend** folder to use your Lambda endpoint\n\n5. To modify the IoT client, follow these steps:  \n    5.1 Browse the **iot** folder  \n    5.2 Edit the **index.js** file   \n    5.3 Install dependencies with `npm install`      \n    5.4 Run `node make-bundle`  \n    5.5 Replace the **bundle.js** inside the **frontend** folder by this new **bundle.js** file   \n\n6. Deploy the frontend to S3  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegozanon%2Fserverless-notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegozanon%2Fserverless-notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegozanon%2Fserverless-notifications/lists"}