Muh-Hasan / vacabot

Manage Leaves

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VacaBot

alt text

Vacabot helps organisation to easily manager leaves/vacation plans without depending upon any extra service potal. Everything through a slackbot.

Running locally

  1. You need db connection and bot auth token.
    cp .env.example .env
    Populate .env with required values.
  2. Install dependencies and run through yarn (Install yarn from here)
    yarn && yarn start
  3. In another tab
    yarn ngrok http 80

You'll get public links. Copy https one for later use.

How to setup the Slack Bot ?

Please have a look at the details here

Usage

  1. Become a manager: /vacabot manager
  2. Create leave request: /vacabot
  3. Check leave balance of an employee /vacabot @username

Slack Community

Here you can try out the vacabot bot already installed and being used. Joining link (valid until 10th November)

How to Contribute

These are guidelines you can follow:

  1. Branch name can follow this pattern:
    feature/<ISSUE_NUMER>-feature-title
    bug/<ISSUE_NUMER>-bug-title
    documentation/<ISSUE_NUMER>-title
  2. Commit msgs pattern:
    feature: adds support for new commands
    fix: allows edge cases for users
    chores: adds instructions to run locally
  3. Don't create PR from your forked master branch.
  4. Link issues in your PR.
  5. Optional. Join the slack community given above to try out the bot.

About

Manage Leaves

License:MIT License


Languages

Language:JavaScript 99.4%Language:Shell 0.6%