All Projects → jameskirkby → serverless-contact-form

jameskirkby / serverless-contact-form

Licence: other
Email contact form using the Serverless framework on AWS Lambda

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to serverless-contact-form

node-lambda-babel-template
A minimal template for an ES2015+ Node.js app running on AWS Lambda (w/ babel and webpack).
Stars: ✭ 40 (+2.56%)
Mutual labels:  lambda
serverless-ninja
Code repository of AWS Serverless Ninja Guidebook 👹 👹 👹
Stars: ✭ 40 (+2.56%)
Mutual labels:  lambda
lambda-launcher
Application launcher in haskell. Mostly Just For Fun.
Stars: ✭ 67 (+71.79%)
Mutual labels:  lambda
CloudWatch2S3
Logging infrastructure for exporting all CloudWatch logs from multiple accounts to a single S3 bucket
Stars: ✭ 31 (-20.51%)
Mutual labels:  lambda
terraform-provider-bless
Terraform provider to automate the creation of BLESS deployments
Stars: ✭ 12 (-69.23%)
Mutual labels:  lambda
0x4447 product answering machine
☎️ An automated answering machine build on top of Amazon Connect
Stars: ✭ 38 (-2.56%)
Mutual labels:  lambda
amazon-kinesis-archiver
An AWS Lambda module and node.js library to facilitate Amazon Kinesis archival and replay
Stars: ✭ 29 (-25.64%)
Mutual labels:  lambda
twitter
A serverless social network that's under development with some cool stuff, such as Serverless Framework, AppSync, GraphQL, Lambda, DynamoDB, Cognito, Kinesis Firehose, and Algolia ☁️
Stars: ✭ 29 (-25.64%)
Mutual labels:  lambda
pinboard-backup
This backs up Pinboard bookmarks to DynamoDB.
Stars: ✭ 17 (-56.41%)
Mutual labels:  lambda
lambda-watermark
AWS Lambda Watermark service for S3 images
Stars: ✭ 20 (-48.72%)
Mutual labels:  lambda
aws-serverless-fullstack-swift-apple-carplay-example
This application demonstrates a full-stack Apple CarPlay app that uses Swift for both the UI and the backend services in AWS. The app accesses Lambda functions written in Swift and deployed from Docker images. The app accesses Amazon Location Service and a 3rd party weather api to display information in the vicinity of the user.
Stars: ✭ 84 (+115.38%)
Mutual labels:  lambda
super-serverless-sample
Backend serverless que simula o sistema de votação do BBB
Stars: ✭ 30 (-23.08%)
Mutual labels:  lambda
zappa-slack-inviter
A server-less Slack inviter
Stars: ✭ 32 (-17.95%)
Mutual labels:  lambda
scelta
(experimental) Syntactic sugar for variant and optional types.
Stars: ✭ 140 (+258.97%)
Mutual labels:  lambda
nuxt-on-lambda
Nuxt.jsをAWS Lambdaで動かす
Stars: ✭ 78 (+100%)
Mutual labels:  lambda
serverless-ts-template
Serverless Typescript Template
Stars: ✭ 13 (-66.67%)
Mutual labels:  lambda
lambda-redirector
Redirect an entire website using AWS Lambda
Stars: ✭ 21 (-46.15%)
Mutual labels:  lambda
cfn-encrypt
🔑🔐☁️ Cloudformation custom resource that enables creation of KMS encrypted strings and SSM secure parameters
Stars: ✭ 13 (-66.67%)
Mutual labels:  lambda
spotify-lambda
λ🎵AWS Lambda functions for Spotify tracking
Stars: ✭ 12 (-69.23%)
Mutual labels:  lambda
appsync-resolvers
AWS AppSync Resolvers for GraphQL using AWS Lambda functions in Go.
Stars: ✭ 37 (-5.13%)
Mutual labels:  lambda

Serverless Email Contact Form

Send contact form emails using Serverless with AWS Lambda and AWS SES

Prerequisites

You will need:

  • An AWS account
  • An IAM account with privileges to send emails using SES
  • An email address that's been verified in SES. This is the email you'll be sending your emails to
  • The AWS CLI installed on your local machine, configured to your IAM credentials
  • serverless installed on your local machine

Installation

  1. Clone this repository to your local machine, and change to that directory
  2. Change the values in handler.js in the ses.sendEmail() function, set the ToAddresses and Source to the email you've verified in SES. You can have multiple ToAddresses, as long as they're all verified in SES
  3. You can test the function locally by running serverless invoke local --function sendForm --path event.json. This will run the function using the data in event.json
  4. Run serverless deploy to upload to AWS Lambda
  5. You can test the function through Lambda by running serverless invoke --function sendForm --path event.json. This will run the function using the data in event.json
  6. A very basic contact form is included in the repository, index.html, replace API_GATEWAY_URL with the gateway URL that serverless displays in the console after you've deployed it. You can use this to test that the form works from a webpage. Uncomment the redirectUrl field if you want to redirect to another URL after a successful form submission.
  7. You should be able to see the results of each form submission in AWS CloudWatch > Log Groups > /aws/lambda/contact-form-prod-sendForm (when you're in the AWS Console, make sure you're in the same region that you set in serverless.yml, otherwise the logs may not show up in CloudWatch)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].