Scaffold a webhook receiver
scaffold-webhook-handlerGenerate an Express TypeScript webhook receiver for Tiendanube/Nuvemshop with HMAC signature checks, immediate 200s, per-event handlers, and signature tests; returns files without disk writes.
Instructions
Generate an Express (TypeScript) webhook receiver for Tiendanube / Nuvemshop: x-linkedstore-hmac-sha256 verification over the raw body, immediate 200, one case per event and a node:test for the signature. Returns the files for the caller to write; the server never writes to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Folder for the generated files, relative to the project root (default "src") | |
| events | Yes | Events to handle, as in lookup-webhook-event (e.g. ["order/paid", "app/uninstalled"]) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to write. The server never writes to disk. | |
| notes | Yes | Next steps and caveats |