An open API service indexing awesome lists of open source software.

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

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`

![image](https://github.com/UNICKCHENG/lark-node-sdk-template/assets/32270702/0435debc-3059-4057-8d73-33714f8bce89)