https://github.com/dainfloop/boltjs-template
A basic and dynamic template for Bolt.js apps using Typescript and pnpm.
https://github.com/dainfloop/boltjs-template
Last synced: 3 months ago
JSON representation
A basic and dynamic template for Bolt.js apps using Typescript and pnpm.
- Host: GitHub
- URL: https://github.com/dainfloop/boltjs-template
- Owner: DaInfLoop
- License: mit
- Created: 2025-05-29T21:12:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-01T17:48:47.000Z (5 months ago)
- Last Synced: 2026-01-07T00:35:13.786Z (5 months ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slack Bolt.js Template
A basic and dynamic template for Bolt.js apps using Typescript and pnpm.
## Installation
1. Clone the template:
```sh
$ git clone https://github.com/DaInfLoop/boltjs-template.git
```
2. Rename `.env.example` to `.env` and fill in the necessary details:
```ini
# NODE_ENV can be either development or production. Make sure to change this before you ship your bot!
NODE_ENV=development
# What port do you want the app to listen on?
PORT=3000
# Your app token usually starts with "xoxb-...."
APP_TOKEN=""
# Your Slack App signing secret.
SIGNING_SECRET=""
### vvv Only really matter when NODE_ENV is "development"! vvv ###
# Your ngrok API token, or "NONE" if you want to disable ngrok functionality
NGROK_TOKEN=""
# A configured ngrok domain to proxy via, this is optional!
NGROK_DOMAIN=""
```
3. Install dependencies:
```sh
$ pnpm i
```
4. The template is now set up!
Create files in `src/` following the templates in each folder and go code on!
Your file name should be `.ts` in order for it to be loaded properly.
## License
This template is licensed under the MIT License. A copy of the license can be viewed at [LICENSE](/LICENSE).