Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukascivil/elixir_with_mjml
https://github.com/lukascivil/elixir_with_mjml
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lukascivil/elixir_with_mjml
- Owner: lukascivil
- Created: 2019-09-14T16:09:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T10:22:19.000Z (about 2 years ago)
- Last Synced: 2023-09-08T15:24:06.523Z (over 1 year ago)
- Language: Elixir
- Size: 754 KB
- Stars: 5
- Watchers: 3
- 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.
![alt tag](http://lukascivil.com.br/githubimages/elixir_with_mjml/diagram.png)
```html
Elixir with mjml
```
Post : localhost:4000/api/mjml
```json
{
"minify": false,
"mjml": "..."
}
```Response :
```json
{
"html": "...",
"errors": []
}
```