https://github.com/slackapi/geekfest-todo
https://github.com/slackapi/geekfest-todo
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/slackapi/geekfest-todo
- Owner: slackapi
- Created: 2022-06-14T19:25:11.000Z (over 3 years ago)
- Default Branch: step-0
- Last Pushed: 2022-06-15T15:55:03.000Z (over 3 years ago)
- Last Synced: 2025-04-04T04:17:28.863Z (10 months ago)
- Size: 63.5 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# 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](https://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
```
7. 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