Skip to content

hex22a/roland

Repository files navigation

Roland

Build Status Coverage Status

Roland is a simple webapp to build and send e-mails.

If you are building static web-site, you can deploy Roland wherever you want, then host your static web-site (or other client) at any static storage (eg. Amazon S3, Dropbox, Selectel Cloud Storage etc.) All you need now is to send HTTP request to Roland and message will be sent ( or not 🙃 )

Configuring

First take a look at default.example.json. Rename it to default.json and edit secret values.

Do the same manipulations with test.example.json.

Dependencies

Well we depend on DB. RethinkDB.

Get it here

Start RethinkDB

$ rethinkdb

This will create a directory with db-files and start RethinkDB server. DB dashboard will be available at localhost:8080

Starting App

$ npm i - to resolve dependencies

$ npm start - to start application

Testing

Unit testing is powered by Jest.

$ npm run test - to run unit tests

You can also run

$ npm run test:watch - to run unit test in watch mode

Behaviour testing is powered by Cucumber

$ npm run test:cucumber - to run behaviour tests

Contributing

PR are welcome 😉👍