Slack app which helps to register absences in OpenTrapp with slack command.
Everyday in the morning it sends to slack channel list of absences.
To be able to start application following environment variables have to be defined:
OPEN_TRAPP_API_URL
- OpenTrapp API URLOPEN_TRAPP_CLIENT_ID
- OpenTrapp API client ID (can be generated on OpenTrapp admin page)OPEN_TRAPP_SECRET
- OpenTrapp API client secret (can be generated on OpenTrapp admin page)SLACK_AUTH_TOKEN
- token which allows access to Slack APISLACK_HOOK
- URL which is used to send notification about absences to Slack channel
Unit tests (with coverage) can be started with following command:
$ yarn test
Application is deployed automatically to Elastic Beanstalk by Travis job after each push to master branch.
Code coverage statistics (measured and reported during each build) are available here.
Application is deployed to Elastic Beanstalk and available here