https://github.com/lukascivil/elixir_with_mjml
https://github.com/lukascivil/elixir_with_mjml
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lukascivil/elixir_with_mjml
- Owner: lukascivil
- Created: 2019-09-14T16:09:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T10:22:19.000Z (over 2 years ago)
- Last Synced: 2025-03-28T17:06:37.183Z (4 months ago)
- Language: Elixir
- Size: 754 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ElixirWithMjml
To start your Phoenix server:
* Install dependencies with `mix deps.get`
* Install Node.js dependencies with `cd assets && npm install`
* Start Phoenix endpoint with `mix phx.server`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

```html
Elixir with mjml
```
Post : localhost:4000/api/mjml
```json
{
"minify": false,
"mjml": "..."
}
```Response :
```json
{
"html": "...",
"errors": []
}
```