Skip to content

cs-camilo-micheletto/cs-links-api

 
 

Repository files navigation

cs-links-api

Slack integrations for slash-command

Badges

CS-LINKS-API CI Codacy Badge codecov

How to use on Slack

Just type the slash command link with the desired keyword, as shown below.

/link guia

Available keyword (for now)

Keyword Expected Result
todos Return all available links
valores Return Valores Link
malote, malotes Return Malote Link
guia Return Guia de Sobrevivência link
viagem, viagens Return Viagens link
benefício, beneficio, benefícios, beneficios, salário, salario Return Salário & Benefícios link
padrão, padrao, material, materiais, apresentação, apresentacao Return Materiais Padrão link
reembolso, reembolsos, adiantamento, adiantamentos Return Reembolso & Adiantamento link
departamento pessoal, pessoal, dp Return Departamento Pessoal link
evento, eventos, treinamento, treinamentos Return Eventos & Treinamentos link
evento, eventos, treinamento, treinamentos Return Ponto Eletrônico & Horas Extras link

Testing

To run the chai tests for this code use npm run test

To live serve this code in the browser node --require dotenv/config server.js

Before serving make sure you have a dotenv file (.env) with the environment variables as dummy links.

Disclaimer

Since it´s deployed on Heroku free tier your first usage might render an error due to the fact that the instance was in a dormant state.

About

Slack integrations for slash-command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%