demo-backend

module
v0.0.0-...-791ffb2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2023 License: MIT

README

CircleCI

mailform-demo-backend

MailDemo_ALL

このプロジェクトは Golang から AWS SES にメールを送信する機能です。バックエンド部分は AppSync(GraphQL)からパラメータを受け取り、Lambda で SES に送信します。 送信結果は「delivery」「bounce」を含め、SES→SNS→Lambda→dynamoDB に格納されます。

フロントはこちらを参照ください

Requirement

  • golang 1.20.7
  • AWS Lambda
  • AWS SES
  • AWS AppSync
  • AWS dynamoDB
  • AWS SNS
  • AWS ECR
  • AWS Route53

Usage

ローカル環境で実行する場合、事前にドメイン取得、Route53 の設定、SES の設定は実施済を前提とします

$ GO_ENV=development go run src/main.go -i 0 -f from@test.com -t to@test.com -s [件名] -b [本文]
$ GO_ENV=development go run src/main.go -i 1 -us test@test.com -in Input -ou Output -cr 2022/01/01

Directories

Path Synopsis
src
tests
mock_usecase
Package mock_usecase is a generated GoMock package.
Package mock_usecase is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL