Skip to content
An alert notification system using Twilio.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
test
.gitignore
.travis.yml
LICENSE
README.md
_config.json
_envrc
package-lock.json
package.json
tsconfig.json
typings.d.ts
typings.json

README.md

alertwil

An alert notification system using Twilio.

Usage

$ git clone https://github.com/bouzuya/alertwil
$ cd alertwil/
$ # setup AWS account
$ # edit & upload config.json to Amazon S3
$ # setup Heroku account & heroku cli
$ heroku create          # create your alertwil app on heroku
$ heroku config:set ...  # set env. see: _envrc
$ git push heroku master # deploy

How to develop

$ git clone https://github.com/bouzuya/alertwil
$ cd alertwil/
$ npm install
$ cp _envrc .envrc
$ vi .envrc # update env
$ source .envrc # or use direnv
$ cp _config.json config.json
$ vi config.json # update configuration
$ npm start

Routes

  • POST /groups/{group_id}/alerts
    • alerts#create { group_id }
    • call by user
  • GET /alerts/{alert_id}
    • alerts#show[.twiml] { alert_id }
    • call by twilio server
  • POST /alerts/{alertId}/results
    • alert/results#create { alertId }
    • call by twilio server

Badges

Travis CI

License

MIT

Author

bouzuya <m@bouzuya.net> (http://bouzuya.net)

You can’t perform that action at this time.