GitSlack Tickets is an app that integrates GitHub and Slack to help you manage your project's issues.
GitSlack Tickets is an app that integrates GitHub and Slack to help you manage your project's issues. With GitSlack Tickets, you can get notified in Slack when new issues are created on GitHub, and create new issues right from Slack.
To use this app, you'll need to have the following installed:
Once you have everything installed and set up, you can clone this repository using this command:
git clone https://github.com/gtchakama/github-slack-webhook.git
Then, navigate to the directory where you cloned the repository and install any necessary dependencies using:
npm install
Next, create a file called .env
in the root of the project, and add the following environment variables:
GITHUB_TOKEN=<your-personal-access-token>
SLACK_WEBHOOK_URL=<your-slack-webhook-url>
Finally, start the app using:
npm start
The app has two routes:
/new-issues
: Returns a JSON array of all issues opened in the last 24 hours./create-issue
: Creates a new issue on GitHub and sends a notification to Slack. Expects a JSON payload with a title
and body
field.To test the app, you can use a tool like Postman to make requests to these routes.
If you would like to contribute to this project, please follow these steps:
git checkout -b feature/my-new-feature
)git commit -am 'Added some feature'
)git push origin feature/my-new-feature
)This project is licensed under the MIT license. See the LICENSE
file for more details.
This app was created by George Chakama.