Skip to content

davelemons/pinpoint-template-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.

Prerequisites

Getting Started

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published