Skip to content

flolu/maizzle-node-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Maizzle Node Example

Render beautiful emails with dynamic content with Maizzle and Node.js

Usage

Setup

  • yarn install

Development

Server

How it works

  1. Set configurable parts in your templates with @{{name_of_variable}}

    <p class="m-0 mb-24">Substitution in action: @{{message}}</p>
  2. Server listens for get requests to /<some_path>

  3. Server takes query params from url and replaces variables

Codebase

Services

  • server Node.js server (Render emails with dynamic content to HTML)
  • src Maizzle templates (Email templates)