🔬 Experiment with MJML + Handlebars 🔬
This project requires Docker Compose to develop and test. The Yarn package manager is also required, and is used instead of npm.
- Clone repository
- In the project root, run
yarn run start - The server is now accessible on
http://localhost:8472/(or whatever port you configure)
To load a template, visit /email/{template-name} in your browser. For example, accessing /email/current-time in the browser will load the current-time.hbs file from the emails folder. See the routes/email.js file for more information.
You can load an interactive terminal for the app container via yarn terminal. This will allow you to add, remove, or upgrade project dependencies using Yarn (among other things). Note: the application instance must be running via yarn start for the terminal to load.