#pinpoint-template-tester Just a quick and dirty way to compile a Handlebars template against a sample AWS Pinpoint endpoint object to see the results. Useful for verifying Handlebars template ahead of copying into a Pinpoint template and sending test emails.
NOTE: This does not test the actual Pinpoint Handlebars.js implementation. Pinpoint may have a different implementation of Handlebars and/or implemented different helpers. Just because something works here, doesn't mean it will work in Pinpoint.
- Clone this repo:
git clone git@github.com:davelemons/pinpoint-template-tester.git && cd pinpoint-template-tester
- Install dependencies:
npm -i
- Update index.js with a sample endpoint. You can use the AWS Pinpoint API to retrieve one from your account if needed.
- Update index.html with your Handlebars Template
- Run it (output will be written to the console):
node index.js