Skip to content

tanaka-takurou/serverless-ses-page-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-SES-page kit

Simple kit for serverless SES page using AWS Lambda.

Dependence

  • aws-lambda-go
  • aws-sdk-go-v2

Requirements

  • AWS (Lambda, API Gateway, Amazon SES, DynamoDB, S3)
  • aws-sam-cli
  • golang environment

Usage

Edit View

HTML
  • Edit templates/index.html
CSS
  • Edit static/css/main.css
Javascript
  • Edit static/js/main.js
Image
  • Add image file into static/img/
  • Edit templates/header.html like as 'favicon.ico'.

Deploy

make clean build
AWS_PROFILE={profile} AWS_DEFAULT_REGION={region} make bucket={bucket} stack={stack name} deploy