Skip to content
davide-caffaratti edited this page Sep 19, 2022 · 10 revisions

Mosaico is a frontend/javascript application: you can serve it through any httpd server such as Apache or IIS. However, Mosaico, in order to work, needs a server based backend, for image upload/manipulation, email download and send, or any other integration with your services.

The gitHub open source distribution provide a minimal node.js backend suitable just for tests, your backend can be developed using your preferred language/tool.

For further information refer to the example backend provided by the distribution.

In order to configure Mosaico to work with your own backend/deploy, look at Mosaico.init() in editor.html: it takes backed paths as configurations.

Known backend implementations in the wild:

PHP

Access Interpreting wrote a sample PHP backend so you can start from there if you want to use mosaico with an Apache/PHP backend.

Mark Alston forked and fixed Access Interpreting's PHP backend

Ahmed Rehan implemented a featured CodeIgniter backend implementing email queue and auth.

Davide Caffaratti forked Ahmed Rehan using classes and add the possibility to save the created email as new model in mysql database PHP backend

Python

Ryan Nowakowski wrote a Python/Django backend and also wrote a test-suite in Python to help testing Mosaico backends

.NET

Matt Gordon wrote a sample ASP.NET Core backend and a sample ASP.NET MVC5 backend so you can start with those if you want to use Mosaico with a .NET backend.

Ruby

Cameron Dutro wrote a Rails engine and also wrote a RoR application that can be used as a starting point.

Clone this wiki locally