codehooks-backend
由 canuto 提供
Web & Frontend Development简介
Deploy serverless backends for REST APIs, webhooks, data storage, scheduled jobs, queue workers, and autonomous.
描述
该技能的功能
Lets an agent deploy serverless backends to Codehooks, including REST APIs, webhooks, persistent storage, scheduled jobs, and queue workers. The agent writes JavaScript or TypeScript code and pushes it live in 5 seconds without human intervention.
The 5-second deploy loop lets an agent build and ship a working backend endpoint end-to-end without any human steps.
何时使用
- Receiving Stripe or GitHub webhooks and storing payloads
- Running nightly data cleanup or summary jobs
- Building a CRUD API for a project without managing servers
- Queuing async tasks like email sending or file processing
- Persisting agent data or state outside local memory
示例工作流
User asks: Set up a webhook to receive GitHub events and store them in a database
- 1
Runs
coho promptto load the full Codehooks development context - 2
Writes a webhook endpoint in JavaScript using
app.post()andDatastore.open() - 3
Runs
coho deployto push the code live - 4
Runs
coho info --examplesto retrieve the live endpoint URL - 5
Verifies stored payloads with
coho query -c events
Live webhook URL ready to receive GitHub events, with all payloads persisted in the Codehooks NoSQL store
前置要求
- Codehooks account (free tier available at codehooks.io)
- `coho` CLI installed globally
- `CODEHOOKS_ADMIN_TOKEN` environment variable, generated via `coho add-admintoken`
安装
clawhub install canuto/codehooks-backend运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。