Skip to content
Service for nominating people for something
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.
lib
test
.dockerignore
.gitignore
.nowignore
.travis.yml
Dockerfile
LICENSE
README.md
config.js
index.js
now.json
package-lock.json
package.json
production.env
renovate.json

README.md

Build Status js-standard-style

tilnefna

Service for nominating people for something

API

POST /api/nominate

{
  name: 'Geir',
  mobile: '1726347',
  nomineeName: 'Jonas',
  nomineeMobile: '1983645'
}
$ curl http://localhost:3000/api/nominate -d '{"name": "Geir", "mobile":"87654", "nomineeName":"Jonas", "nomineeMobile":"1928273"}'

POST /api/message

{
  mobile: '1726347',
  message: 'You rock!'
}
$ curl http://localhost:3000/api/message -d '{"mobile":"87654", "message":"You rock!"}'

POST /api/{WEBHOOK_TOKEN}/confirm

Setup

License

MIT

You can’t perform that action at this time.