https://github.com/unickcheng/lark-node-sdk-template
A template. See https://github.com/larksuite/node-sdk
https://github.com/unickcheng/lark-node-sdk-template
Last synced: 10 months ago
JSON representation
A template. See https://github.com/larksuite/node-sdk
- Host: GitHub
- URL: https://github.com/unickcheng/lark-node-sdk-template
- Owner: UNICKCHENG
- Created: 2023-05-15T10:24:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T11:16:22.000Z (about 3 years ago)
- Last Synced: 2025-03-30T10:13:42.769Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# This is a lark-bot template
## Environment
```
node -v
git -v
```
## Clone the source code
```bash
git clone https://github.com/UNICKCHENG/lark-node-sdk-template.git
```
## Configure environment variables
Create a new `.env` file in the root directory with the following contents
```
APP_ID="cli_xxxxxxxxxxxxxxxxxxxxx"
APP_SECRET="xxxxxxxxxxxxxxxxxxxxxxxxxx"
TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
ENCRYPT_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```
## Compile and run
```bash
yarn
yarn dev
```
## Configure
- `http://ip:3000/api/webhook`
