This is a Slack Bot made to create new meetings and keep track of existing meetings.
Requirements:
APIs:
3rd part APIs:
1. '@slack/bolt' - this is the slack API used to connect with slack. Documentation links: - https://github.com/slackapi/bolt
- https://www.npmjs.com/package/@slack/bolt
2. 'request' - I used this API to do HTTP GET and POST to the Huddl API. Documentation link: https://github.com/request/request
3. 'moment' - I used this API to help with modifying and formatting date and time variables. Documentation link: https://momentjs.com/docs/
4. 'util' - I used this API to help with making promises for callback functions. Documenatation link: https://nodejs.org/api/util.html
Huddl APIs:
1. Auth Service - This API validates the user's Huddl profile and makes sure they are authorized to access requested information.
Documentation link: https://huddlai.atlassian.net/wiki/spaces/WEB/pages/3112982/Auth+Service+-+deprecating+soon
2. Contacts Service - This API is used to get Huddl contact and user profile information, Parameters: url, headers(headers includes authentication).
Documenation link: https://huddlai.atlassian.net/wiki/spaces/HUD/pages/4587530/Contacts+Service
3. Meeting Service V2 - This API is used to get meeting information, and schedule new meetings. Parameters: url, authentication.
Documentation link: https://huddlai.atlassian.net/wiki/spaces/HUD/pages/520716289/Meeting+service+V2+WIP
ENV Variables:
- SLACK_SIGNING_SECRET - the signing secret assigned by slack to the app when it was created
- SLACK_BOT_TOKEN - the authentication token given by slack when you enable bot interactions
How to run the app:
Launch the app from a terminal window and then call Huddlbot on any channel it is a part of!
Other important information:
User needs to have a valid Huddl account for the app to work.
Next, you’ll add a new file to this repository.
- Click the New file button at the top of the Source page.
- Give the file a filename of contributors.txt.
- Enter your name in the empty file space.
- Click Commit and then Commit again in the dialog.
- Go back to the Source page.
Before you move on, go ahead and explore the repository. You've already seen the Source page, but check out the Commits, Branches, and Settings pages.
Use these steps to clone from SourceTree, our client for using the repository command-line free. Cloning allows you to work on your files locally. If you don't yet have SourceTree, download and install first. If you prefer to clone from the command line, see Clone a repository.
- You’ll see the clone button under the Source heading. Click that button.
- Now click Check out in SourceTree. You may need to create a SourceTree account or log in.
- When you see the Clone New dialog in SourceTree, update the destination path and name if you’d like to and then click Clone.
- Open the directory you just created to see your repository’s files.
Now that you're more familiar with your Bitbucket repository, go ahead and add a new file locally. You can push your change back to Bitbucket with SourceTree, or you can add, commit, and push from the command line.