This is a simple API to store contacts informations and send automated emails.
You can use this API to store leads or prospects informations and send content via email,
for example you can have a landing page allowing a lead to receive an ebook on his email.
- It stores the contact email and additional data.
- It organizes contacts by list name.
- It can send an automated email to the contact.
- POST /contact
required params: email, list_name
optional params: data (postgres hstore)
$ cp config/mail.sample.yml config/mail.yml
$ cp config/database.sample.yml config/database.yml
$ rake RACK_ENV=test db:create
$ rake RACK_ENV=test db:migrate
$ rspec
$ rake db:create
$ rake db:migrate
$ rake console
$ rackup
$ cp config/deploy/production.sample.conf config/deploy/production.conf
$ cp config/deploy/staging.sample.conf config/deploy/staging.conf
$ cp config/apache.sample.conf config/apache.conf
$ cap production upload:vhost
$ cap production upload:db_config
$ cap production upload:mail_config
$ cap production deploy
$ cap production db:create
$ cap production db:migrate
Yay, your API is online :D