Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

slackapi/workshop-geekfest-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

A simple Slack todo list app

This app is meant to walk through how to create a simple app using many of the features of the Slack API in a straightforward way. The app keeps dependencies to a minimum and tries to reduce complexity to keeping all of the business logic in a single file. As you will see, this isn't necessarily the most straightforward organization for an app of even modest complexity.

The app is broken down into multiple steps, each with its own branch. The main branch is the fully working, complete app.

Step 0

  1. Set up your app at api.slack.com/apps. Create a new app and choose "From an app manifest".
  2. Copy the manifest at manifest.yaml
  3. Install the app on to your workspace
  4. Generate an app-level token for Socket Mode
  5. Name the token “TodoSocketMode” and request connections:write
  6. Initialize the bolt project
npm init
npm install @slack/bolt
npm install dotenv
  1. Create a .env file and add the following:
SLACK_APP_TOKEN=xapp...
SLACK_BOT_TOKEN=xoxb...

Copy the appropriate values from the app config page from when you created your app at api.slack.com/apps

About

A guided walkthrough for creating a todo list app

Resources

Stars

Watchers

Forks