Coder Social home page Coder Social logo

maildoodle.com's Introduction

maildoodle.com

Email templates for your software stored in the cloud

Build Status star this repo fork this repo

Where to use it?

Documentation can be found here: http://www.maildoodle.com/documentation

Create an account and use it here: http://www.maildoodle.com/auth/sign-up

How to use it

  • sign up for free and use it in the cloud
  • install it on you servers (requirements MongoDB, NodeJS, Linux servers)

Features

  • easily create email templates on the web
  • add test json data to test how your output email will look like
  • ability to test how output email will look in html and pdf format (pdf still in progress)
  • multi-language support (in progress)
  • ability to access the output through APIs and also to test your APIs from the UI
  • more to come ...

Technical details

Technical awesomeness with Node.js and React. Created by developers to make software better. Inspired from Redux Universal Hot Example repo: https://github.com/erikras/react-redux-universal-hot-example

npm install

//dev
npm run dev

//prod
npm run build
npm run start

//run test
npm run lint
npm run test
npm run test-node

//run REST API sigle test
make test FILE=[complete_path_to_file]

Maintainers

Contact us if you use want to use it on premises. We accept pull requests.

maildoodle.com's People

Contributors

alinastaicu avatar laurentiu-ilici avatar liviuignat avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

maildoodle.com's Issues

Add helper functions for ejs templates

As a user that edit templates I want to have a few template method helpers.

  1. Add the following methods to ejs as default
  • dateFormat(date: Date | number | string, format: string = defaultFormat)
  • currencyFormat(amount: number | string, currency: string = 'EUR')
  1. Add documentation in the documentation page of how to use these methods.

Example of final template usage:

<div>
  <span><%= dateFormat(new Date(), format = 'DD MM YYYY') %></span>
   <span><%= dateFormat(new Date().getTime(), format = 'DD MM YYYY') %></span>
   <span><%= dateFormat(new Date().toString(), format = 'DD MM YYYY') %></span>
  <span><%= currencyFormat(100, currency = 'EUR') %></span>
  <span><%= currencyFormat("1000", currency = 'USD') %></span>
</div>

Technical details

  • Add these functions to ejs (extend serverside ejs), please read ejs documentation to see how
  • dateFormat should encapsulate moment package (I think the project itself has a demo of how to do it)
  • currencyFormat should encapsulate https://www.npmjs.com/package/currency-formatter

Add HTML Editor.

As a user I want to have an HTML designer that has both designer and HTML preview for my templates.

  • The html editor should have WYSIWYG features
  • The html editor should be wrapped inside the layout, but the layout should not be editable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.