Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cowholio4/lambda-contact-form
Simple aws lambda function to support a website contact form
https://github.com/cowholio4/lambda-contact-form
amazon-ses aws-lambda serverless
Last synced: 3 months ago
JSON representation
Simple aws lambda function to support a website contact form
- Host: GitHub
- URL: https://github.com/cowholio4/lambda-contact-form
- Owner: cowholio4
- Created: 2016-05-06T20:44:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T17:28:21.000Z (over 7 years ago)
- Last Synced: 2024-07-20T02:29:11.227Z (4 months ago)
- Topics: amazon-ses, aws-lambda, serverless
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 63
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-functions - lambda-contact-form - (AWS Lambda Functions)
README
# Lambda-Contact
A simple aws-lambda function that allows you to have a contact form on your static website. (hosted on S3/Cloudfront)
Currently, emails are sent via SES.I made this aws-lambda function in August 2015 for a startup I joined and in 2017 I modified it to use serverless.
# Instructions
1. Install [serverless](https://serverless.com/)
2. Run `npm install`
3. Change the config.json file to match your 'from' to 'to'.
4. Run `serverless deploy`
5. Copy the URL from the output of the previous command and use it in your contact form.## Exmaple Form
```
Send```
# TODO
1. Add more robust spam protection