Mailroad helps you compose, write, and send emails through the ESP (email service provider) of your choice. It uses react, node, express, and couchdb
The frontend for mailroad has been moved to its own repo.
- CouchDB >= v2.0
- redis-server
- nodeJS >= v8.0
- an Amazon S3 bucket and API key
- Ensure external dependencies are installed and running
- clone this repo
cdto the cloned directory and runnpm install- copy
.env.sampleinto a new file.env. Add the appropriate API keys for AWS. - start couchdb-server
npm run seedto create databases and meta infonpm run sync-viewsto upload design docs to appropriate databases.- Once you set it all up, start everything.
redis-serverto start redisnpm run developto start nodemon & express
Don't forget to run the frontend as well!
Code is divided into /client and /server folders. client contains react router code, jsx, sass, fonts, and some client side libs.
server contains the express code (api routes), email templates, server side libs, other logic.