Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Contact us form template with AWS Lambda

  1. Follow the Get Started from Serverless, Generate default serverless config.
  2. Create a verified email as contact email for your AWS SES service.
  3. Replace Serverless config file with the serverless.yml.
  4. Replace Handler code with handler.js.
  5. Use the example form and update LAMBDA_URL, contactTo and myDomain.
  6. Otherwise, make sure you POST the following json in lambda request.
{
  "name": "Sitaram",
  "reply_to": "sitaram@example.com",
  "message": "Very important message.",
  "website": "example.com",
  "contact_to": "contact@example.com"
}
  1. Once you have lambda set up for the first time, just update fields website and contact_to for you next contact us form and domain with a new email.

About

A ready to use template for making contact us forms for websites.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages