Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 672 Bytes

README.md

File metadata and controls

39 lines (34 loc) · 672 Bytes

sns-confirmation

This is a simple Express server to confirm a http confirmation from AWS SNS. If you want to subscribe to a SNS topic aws sends a http post with a confirmation URL. The script parse it and call the URL. This script can easily be extended to handle messages as well

Develop

  1. Fork this Repo
  2. Clone it
  3. Install dependencies
npm install
  1. Run the server
npm run dev

Production

  1. Build the server
npm run build
  1. Run the server
npm run start

EBS

This script can be easily executed in an EBS instance. Simply use the EB CLI.

  1. Init EB
eb init
  1. Deploy it
eb deploy