Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

codehooks-backend

bởi canuto

Web & Frontend Development
426Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Deploy serverless backends for REST APIs, webhooks, data storage, scheduled jobs, queue workers, and autonomous.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Set up a webhook to receive GitHub events and store them in a database

AGENT
  1. 1

    Runs coho prompt to load the full Codehooks development context

  2. 2

    Writes a webhook endpoint in JavaScript using app.post() and Datastore.open()

  3. 3

    Runs coho deploy to push the code live

  4. 4

    Runs coho info --examples to retrieve the live endpoint URL

  5. 5

    Verifies stored payloads with coho query -c events

ĐẦU RA

Live webhook URL ready to receive GitHub events, with all payloads persisted in the Codehooks NoSQL store

Yêu cầu

  • Codehooks account (free tier available at codehooks.io)
  • `coho` CLI installed globally
  • `CODEHOOKS_ADMIN_TOKEN` environment variable, generated via `coho add-admintoken`

Cài đặt

clawhub install canuto/codehooks-backend

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết