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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.