Why We Need Global Makers to Solve the SDGs by 2030

Harnessing the power of the Maker Movement and the Sustainable Development Goals, the next generation can help us meet the 2030 agenda for a more fair and sustainable world.

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to build a Slack bot in Node.js and deploy it to AWS

Slack apps are great as small, hobby projects. They can also be used to improve productivity in a business. Or just for fun. In this guide I’ll take you through how to build an app for Slack and deploy it to AWS using Terraform and CircleCI.

This template repo includes Terraform configuration to deploy the app to AWS API Gateway with an, optional, custom domain. I used Terraform rather than AWS SAM or the Serverless Framework because I already use Terraform to manage to my own AWS resources so it made sense to stick with it here. It also means that I can easily change my deployment process to create a Docker image and deploy to AWS ECS if I want to later on.

CircleCI configuration is also included for deploying a new version of the app to AWS Lambda. The way this config is setup allows the app to be deployed to a development AWS account when commits are pushed to master, and then deploy to a diferent, production, account when a release is tagged.

Slack apps can be configured to work with a single workspace, or be available for distribution. The template I’ve created supports both approaches so an app can initially be created for a single workspace during development but then easily updated to support distribution. This guide will start off by showing how to build an app for a single workspace and then make it available for others to install.

Now, let’s get started.

Add a comment

Related posts:

Count down

One million candles can’t shine. “Count down” is published by Shruti Kamath.

Rep. Rob Bishop made a statement that meant he should have been out of Congress nearly four years ago

So according to his own words, the former teacher is nearly four years overdue to return home to Brigham City, Utah. He has been there almost 33 percent longer than he himself said he should be. Set…

Thinking about Thinking

Everyone should reasonably expect their leader to think. And most everyone would likely claim that thinking is a hallmark of sentient beings and like breathing or heartbeats, happens automatically…