Skip to content

xballoy/mjml2html-api

Repository files navigation

mjml2html API

CI

API to convert MJML to HTML

Requirements

Getting started

Start the project:

docker compose up -d

Convert a template:

curl --request POST \
  --url http://localhost:3000/ \
  --header 'Content-Type: application/json' \
  --data ' {
	 "mjml": "<mjml> <mj-body> <mj-section> <mj-column> <mj-text> Hello World! </mj-text> </mj-column> </mj-section> </mj-body> </mjml>"
 }'

Licence

MIT

About

API to convert MJML to HTML

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published