{"id":25580400,"url":"https://github.com/tderflinger/serverless-message","last_synced_at":"2025-09-12T13:32:56.048Z","repository":{"id":42969510,"uuid":"219853097","full_name":"tderflinger/serverless-message","owner":"tderflinger","description":"Serverless function for sending a contact form information email.","archived":false,"fork":false,"pushed_at":"2023-01-09T22:32:56.000Z","size":419,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T04:07:24.838Z","etag":null,"topics":["aws","lambda","sendgrid","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/tderflinger.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":"2019-11-05T21:23:02.000Z","updated_at":"2019-11-12T15:33:24.000Z","dependencies_parsed_at":"2023-02-08T15:15:14.345Z","dependency_job_id":null,"html_url":"https://github.com/tderflinger/serverless-message","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tderflinger/serverless-message","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tderflinger%2Fserverless-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tderflinger%2Fserverless-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tderflinger%2Fserverless-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tderflinger%2Fserverless-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tderflinger","download_url":"https://codeload.github.com/tderflinger/serverless-message/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tderflinger%2Fserverless-message/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274821751,"owners_count":25356360,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","lambda","sendgrid","serverless"],"created_at":"2025-02-21T04:15:56.517Z","updated_at":"2025-09-12T13:32:56.025Z","avatar_url":"https://github.com/tderflinger.png","language":"JavaScript","readme":"# serverless-message\n\nThis is the example application for my blog article. You can find the article here:\n\n- https://www.tderflinger.com/en/serverless-website-messaging\n\nIt uses the Serverless framework to build a serverless function. The function\nsends an email to the configured email address with the customer contact information.\n\nThe application uses Twilio Sendgrid for sending the email.\n\n## Install\n\nInstall according to the Serverless installation instructions:\n\n- https://serverless.com/framework/docs/getting-started/\n\nThen run after cloning this repository:\n\n```bash\nnpm install\n```\n\nSet the environmental variables in _serverless.yml_ according to your values.\n\nFor example:\n\n```\nexport SENDGRID_API_KEY=xxxx\nexport MESSAGE_TO=your@x.com\nexport MESSAGE_FROM=website@yourwebsite.com\n```\n\nYou can get your Sendgrid API key by signing up at: https://sendgrid.com/\n\n## Offline Testing\n\n```bash\nsls offline\n```\n\n## Deploy\n\n```bash\nsls deploy\n```\n\nNote, after deploying there are costs associated with invoking the function depending on cloud provider.\n\n## Remove\n\n```bash\nsls remove\n```\n\n## Notice\n\nIf internal server error occurs, run before deploy:\n\n```bash\nchmod -R +r node_modules/\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftderflinger%2Fserverless-message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftderflinger%2Fserverless-message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftderflinger%2Fserverless-message/lists"}