# Codehooks.io — The Agent-Native Backend Platform > Codehooks.io is the agent-native backend platform. A complete, isolated backend — API routes, NoSQL database, key-value store, worker queues, cron jobs, and static asset hosting — that deploys in under 5 seconds from a single CLI command. CLI-first: any tool that can run shell commands (Claude Code, Cursor, Codex, Cline) can autonomously create, deploy, verify, and iterate on a production backend. Flat-rate pricing: Free/$19/$99 per month with unlimited compute on paid plans. Based in Norway, EU. Use 'llms-full.txt' for complete API documentation and code examples. This file contains an overview of codehooks.io and links to documentation sections following the llmstxt.org standard. # Codehooks.io: The Agent-Native Backend Platform ## What is Codehooks.io? Codehooks.io is the **agent-native backend platform**. It's a complete, isolated backend — API routes, NoSQL database, key-value store, worker queues, cron jobs, and static asset hosting — that deploys in under 5 seconds from a single CLI command. Everything is built in. Nothing needs to be wired together. The entire lifecycle is **CLI-native**, which means any tool that can run shell commands — Claude Code, Cursor, Codex, Cline, or a custom agent — can autonomously create, deploy, verify, and iterate on a production backend without human intervention. Designed from the ground up for end-to-end agent workflows — one of the first backends purpose-built for the full agentic loop. ### Why Codehooks.io? - **CLI-First, Zero Friction** – Every operation is a CLI command. Your agent doesn't need a browser, a dashboard, or a tutorial. `coho deploy` and it's live. - **Everything Built In** – Database, queues, cron, key-value store, auth — all built into every project. Grab any template, deploy it, and it works. Nothing to provision, nothing to wire up. - **Sub-5-Second Deploys** – Your agent can iterate 50 times in the time it takes other platforms to deploy once. - **Flat-Rate Pricing** – Unlimited compute included. No per-request fees, no surprise bills. $19/month for Pro. - **Claude Code Plugin** – Install the [Codehooks Claude Plugin](https://github.com/RestDB/codehooks-claude-plugin) for auto-detection, templates, and a `/codehooks:backend` command. - **OpenClaw Skill** – The [codehooks-openclaw-skill](https://github.com/RestDB/codehooks-openclaw-skill) provides pre-built backend patterns for OpenClaw agents. - **MCP Server** – Fallback for tools without terminal access (Claude Desktop, Cline, Zed): [codehooks-mcp-server](https://github.com/RestDB/codehooks-mcp-server). Always prefer the CLI when available. - **EU Data Storage** – All data and backups stored in the EU. GDPR compliant. Encryption at rest. --- ## AI Agent Development Codehooks.io is designed from the ground up for **AI agents to autonomously build, deploy, and manage backends**. ### Why AI Agents Excel with Codehooks **Single Cohesive Library:** The `codehooks-js` library bundles everything—REST routes, NoSQL database, key-value store, queues, scheduled jobs, file storage, and real-time APIs—in a single import. One library, one pattern, everything works together. ```javascript import { app, Datastore } from 'codehooks-js'; // That's it. Database, routes, queues, jobs—all available. ``` **Zero Infrastructure Assembly:** No AWS/GCP service configuration. No API Gateway + Lambda + DynamoDB + SQS wiring. No Terraform or CloudFormation. AI agents write code and deploy—the platform handles everything else. **Trivial CLI Commands:** ```bash npm install -g codehooks # Install once coho create myproject # Create project coho deploy # Deploy to production ``` **Claude Code Plugin:** The fastest way to get started with Claude Code: ``` /plugin marketplace add RestDB/codehooks-claude-plugin /plugin install codehooks@codehooks ``` **Built-in AI Prompt:** ```bash coho prompt # Display the Codehooks development prompt coho prompt | pbcopy # Copy to clipboard (macOS) ``` **MCP Server Integration:** For tools that lack terminal access (Claude Desktop, Cline, Zed), the [MCP server](https://github.com/RestDB/codehooks-mcp-server) provides deploy, query, and management capabilities. **Note:** If your agent can run shell commands, always prefer the CLI — it's faster, more capable, and gives the agent direct access to the full `coho` toolchain. ### AI Agent Workflow 1. **Agent receives task** → "Build a Stripe webhook handler that stores payments" 2. **Agent writes code** → Uses `codehooks-js` patterns from prompt docs 3. **Agent deploys** → Runs `coho deploy` or uses MCP server 4. **Agent verifies** → Queries database, checks logs via CLI/MCP 5. **Agent iterates** → Makes changes and redeploys in seconds No infrastructure decisions. No dependency conflicts. No configuration files. Just code and deploy. --- ## What You Can Build Codehooks.io handles any backend workload that fits the serverless model: - **Webhook Handlers** – Receive and process webhooks from Stripe, Shopify, GitHub, Slack, Discord, Twilio, and any service. Built-in `request.rawBody` for signature verification. - **REST APIs** – Express.js-like routing with `app.get()`, `app.post()`, etc. Full CRUD with `app.crudlify()`. - **Scheduled Automations** – Cron jobs that sync data, send digests, clean up records, or poll external APIs. - **Multi-Step Workflows** – Chain API calls, queue tasks, and orchestrate services with the Workflow API. Automatic retries, state persistence, and error recovery. - **AI Agent Tool Backends** – Give your agents APIs they can call — store data, trigger workflows, query results. - **SaaS Integrations** – Connect any service that sends webhooks. Process, transform, and route to where it matters. - **Full-Stack Apps** – Deploy frontend and backend together in one package. React, static sites, or SPAs — served alongside your API with zero extra config. --- ## Key Features | Feature | Description | | :------------------------- | :--------------------------------------------------------------------------------- | | REST API Routes | Express.js-like routing with `app.get()`, `app.post()`, `app.put()`, `app.delete()` | | NoSQL Database | MongoDB-like queries with `getMany()`, `insertOne()`, `updateOne()`, etc. | | Key-Value Store | Redis-like KV store with TTL support for caching and fast lookups | | Worker Queues | Durable background workers for async processing | | Cron Jobs | Scheduled tasks with standard cron expressions | | Workflow API | Reliable multi-step workflows with retries, state persistence, error recovery | | Webhook Signature Support | `request.rawBody` for HMAC verification with Stripe, Shopify, GitHub, and others | | Authentication | API tokens, JWT/JWKS, and custom auth hooks for route-level control | | File Storage | Blob storage for files and static assets | | Frontend Hosting | Serve SPAs and static sites alongside your API | | OpenAPI Documentation | Auto-generate Swagger UI from your code schemas | | Claude Code Plugin | Auto-detection, templates, and `/codehooks:backend` command for Claude Code | | OpenClaw Skill | Pre-built backend patterns for webhooks, CRUD, cron, queues, and workflows | | MCP Server | Model Context Protocol integration for AI agents | --- ## Quick Start ### With Claude Code (Recommended) ``` /plugin marketplace add RestDB/codehooks-claude-plugin /plugin install codehooks@codehooks ``` Then use `/codehooks:backend` to start building. ### With CLI ```bash npm install -g codehooks # Install CLI coho create myproject # Create project coho deploy # Deploy ``` ### Using Templates ```bash coho create myproject --template coho deploy ``` **Available Templates:** `stripe-webhook-handler`, `webhook-stripe-minimal`, `webhook-paypal-minimal`, `webhook-shopify-minimal`, `webhook-github-minimal`, `webhook-discord-minimal`, `webhook-slack-minimal`, `webhook-twilio-minimal`, `webhook-clerk-minimal`, `webhook-delivery`, `slack-memory-bot`, `crud-api-backend`, `drip-email-workflow`, `saas-metering-webhook`, `react-bff`, `static-website-tailwindcss` Browse all templates at [github.com/RestDB/codehooks-io-templates](https://github.com/RestDB/codehooks-io-templates). --- ## Guides & References ### Getting Started - [AI Agent Setup](https://codehooks.io/docs/ai-agent-setup) – Claude Code plugin, CLI prompt, MCP server setup - [Quickstart CLI](https://codehooks.io/docs/quickstart-cli) – First deploy walkthrough - [API Cheat Sheet](https://codehooks.io/docs/apicheatsheet) – All essential APIs on one page - [CLI Reference](https://codehooks.io/docs/cli) – Full command documentation ### APIs & Database - [REST API Routing](https://codehooks.io/docs/rest-api-app-routes) – Create API endpoints - [NoSQL Database API](https://codehooks.io/docs/nosql-database-api) – Document database operations - [NoSQL Query Language](https://codehooks.io/docs/nosql-database-query-language) – Query syntax - [Key-Value Store](https://codehooks.io/docs/key-value-database-api) – Caching and fast lookups - [File API](https://codehooks.io/docs/fileapi) – Blob storage ### Background Processing - [Queue API & Workers](https://codehooks.io/docs/queueapi) – Async processing - [Cron Jobs](https://codehooks.io/docs/jobhooks) – Scheduled tasks - [Workflow API](https://codehooks.io/docs/workflow-api) – Multi-step workflows ### Security & Auth - [Authentication](https://codehooks.io/docs/authentication) – JWT, JWKS, API keys - [Auth Hooks](https://codehooks.io/docs/authhooks) – Route-level access control ### Tools & Integrations - [Claude Code Plugin](https://github.com/RestDB/codehooks-claude-plugin) – Auto-detection, templates, and `/codehooks:backend` command for Claude Code - [OpenClaw Skill](https://github.com/RestDB/codehooks-openclaw-skill) – Pre-built patterns for webhooks, CRUD APIs, cron jobs, queues, and workflows for OpenClaw agents - [MCP Server](https://github.com/RestDB/codehooks-mcp-server) – Model Context Protocol integration for Claude Desktop, Cline, Zed - [Codehooks Studio](https://codehooks.io/docs/studio) – Browser-based management dashboard --- ## Webhook Integration Tutorials Complete tutorials with signature verification, error handling, and production best practices: - [Stripe Webhooks](https://codehooks.io/docs/examples/webhooks/stripe) – Payment events, subscriptions, invoices - [PayPal Webhooks](https://codehooks.io/docs/examples/webhooks/paypal) – Transactions, refunds, disputes - [Shopify Webhooks](https://codehooks.io/docs/examples/webhooks/shopify) – Orders, inventory, customers - [GitHub Webhooks](https://codehooks.io/docs/examples/webhooks/github) – Push events, PRs, issues - [Slack Bot](https://codehooks.io/docs/examples/webhooks/slack) – Slash commands, events, interactive messages - [Discord Bot](https://codehooks.io/docs/examples/webhooks/discord) – Interactions with Ed25519 verification - [Twilio Webhooks](https://codehooks.io/docs/examples/webhooks/twilio) – SMS, voice, TwiML responses - [SendGrid Webhooks](https://codehooks.io/docs/examples/webhooks/sendgrid) – Delivery, opens, clicks, bounces - [Mailgun Webhooks](https://codehooks.io/docs/examples/webhooks/mailgun) – Email events and tracking - [Jira Webhooks](https://codehooks.io/docs/examples/webhooks/jira) – Issue updates, sprint changes - [OpenAI Webhooks](https://codehooks.io/docs/examples/webhooks/openai) – Batch jobs, fine-tuning completion --- ## FAQ ### 1. How does my AI agent deploy to Codehooks? Install the CLI (`npm i -g codehooks`), then your agent can run `coho create`, write code, and `coho deploy` — all from the terminal. **Claude Code users:** Add the [Codehooks plugin](https://github.com/RestDB/codehooks-claude-plugin) for auto-detection, templates, and full API context on top of the CLI. ### 2. Which programming languages are supported? Codehooks.io supports **JavaScript and TypeScript**. You can use most NPM libraries, except those that require direct access to local disk or OS-level resources. ### 3. Where is my data stored? All data and backups are stored in the **EU**. Paid plans include **daily automated backups**. We are **GDPR compliant** with **encryption at rest**. ### 4. How is this different from Firebase or Supabase? Codehooks is **CLI-first and agent-native**. While Firebase and Supabase require dashboard configuration, Codehooks lets an AI agent create, deploy, inspect, and iterate on a complete backend without ever leaving the terminal. Plus, all paid plans include **unlimited compute** with no per-request fees. ### 5. How does authentication and security work? You can integrate any auth provider that supports **JWKS** (e.g. Auth0, Clerk). For custom setups, we provide **codehooks-auth**. API keys and secrets are **encrypted**. Paid plans can **restrict access by IP address**. ### 6. What if my agent deploys too often? **Flat-rate pricing.** Your agent can deploy 50 iterations while debugging and your bill stays the same. No per-request fees, no compute metering, no surprises. ### 7. Can I develop and test locally? Yes! Use our **Docker setup** for local development. See [local development documentation](https://codehooks.io/docs/local-development-with-docker). ### 8. How do I manage multiple environments? Create **Spaces** within your project — each Space is self-contained with its own database, code, and settings. Perfect for dev/staging/prod. ### 9. What happens to my data if I cancel? Your data will be **automatically deleted after 2 weeks** following plan cancellation. Export any data you need before canceling. ### 10. How long has the platform been operating? Codehooks.io is developed by **RestDB**, operating since **2016**. Built on years of experience running SaaS backend services. --- ## Pricing | Feature | Development (Free) | Pro ($19/month) | Team ($99/month) | | -------------------- | ------------------ | --------------- | ---------------- | | Developers | 1 | 3 | 6 | | API & Function Calls | 60/min | 3600/min | 6000/min | | Database Storage | 150 MB | 15 GB | 25 GB | | File Storage | 1 GB | 25 GB | 100 GB | | Custom Domains | 0 | 1 | 3 | | Spaces | 1 | 1 | 3 | | Backups | CLI only | Daily | Daily | | Support | Chat | Chat + Email | Premium | Add-ons: Extra developers ($5), database ($0.10/GB), file storage ($0.02/GB), domains ($10), spaces ($10). --- **Codehooks.io** — the agent-native backend platform. CLI-first infrastructure for AI agents and developers. Build, deploy, and iterate on complete backends in seconds. ## Table of Contents for the documentation on codehooks.io - [Overview](https://codehooks.io/docs/): Codehooks.io is the agent-native backend platform. A complete backend — API routes, database, queues, cron, auth, and frontend hosting — that deploys in seconds from the CLI. Your coding agent or you can create, deploy, and iterate without ever leaving the terminal. - [Concepts overview](https://codehooks.io/docs/concepts): Learn about the main concepts of Codehooks.io - the agent-native backend platform. Understand projects, spaces, and how to deploy backends, webhook handlers, and integrations to the Codehooks serverless cloud. - [Quickstart using the CLI](https://codehooks.io/docs/quickstart-cli): Get started with Codehooks CLI — deploy a complete backend in seconds. Your coding agent or you can create APIs, webhook handlers, and automations from the terminal. - [Data aggregation API](https://codehooks.io/docs/aggregation): The JSON aggregation specification is designed to provide a structured way to aggregate JSON data streams. It offers several operators to aid in the summarization and grouping of data streams without the need for extensive code. - [AI Agent Setup](https://codehooks.io/docs/ai-agent-setup): Set up AI coding agents to build Codehooks.io backend APIs. Install the Claude Code plugin for auto-detection and templates, or use the CLI prompt, MCP server, or manual setup. - [API Cheat Sheet](https://codehooks.io/docs/apicheatsheet): Essential API reference for Codehooks.io serverless backend. Quick reference for routing, authentication, databases, workflows, queues, and real-time features with direct links to detailed docs. - [The Application Object](https://codehooks.io/docs/appeventapi): Learn how to use the Codehooks Application object to handle REST API routes, background jobs, worker queues, and authentication events in serverless functions. - [Authentication](https://codehooks.io/docs/authentication): Learn how to authenticate your application with API tokens and JWT tokens. - [Auth hooks](https://codehooks.io/docs/authhooks): Learn how to use auth hooks to override the default security behaviour on specific routes. - [Codehooks CLI tool](https://codehooks.io/docs/cli): Learn how to use the Codehooks CLI tool to manage your projects and spaces. - [Client code examples](https://codehooks.io/docs/client-code-examples): Learn how to use Codehooks from popular programming languages and platforms, such as cURL, JavaScript, Python, PHP, Java, C#, Kotlin, R and Swift. - [Concepts overview](https://codehooks.io/docs/concepts): Learn about the main concepts of Codehooks.io - the agent-native backend platform. Understand projects, spaces, and how to deploy backends, webhook handlers, and integrations to the Codehooks serverless cloud. - [REST API query and Database CRUD API](https://codehooks.io/docs/database-rest-api): A new Codehooks.io application has a complete and secure REST API for basic database CRUD (Create, Read, Update, Delete) operations using REST API queries. The CRUD REST API is implemented by bundling the deployed application with the NPM package codehooks-js and the crudlify API. - [Data operators](https://codehooks.io/docs/dataoperators): Data objects in a datastore can be manipulated in any update operation. To manipulate one or many data object(s) a range of special operators can be applied using the updateOne or updateMany API. - [File API](https://codehooks.io/docs/fileapi): The File API enables your application to access and manage folders and files. The API is automatically available from the inside of any Codehook function. - [Indexing API](https://codehooks.io/docs/indexapi): Create fast lookup indexes in a datastore. Combined with streaming queries, indexing can be a big improvement for your application performance. - [Job background workers](https://codehooks.io/docs/jobhooks): Learn how to use job hooks to schedule background worker functions as recurring cron jobs or as one-time runAt jobs. - [Codehooks.io Local Development with Docker](https://codehooks.io/docs/localdev): Local development with Docker - [Key-Value Store API](https://codehooks.io/docs/key-value-database-api): Run Redis-like operations against a Key-Value database. This API automatically available from the inside of any Codehook function. - [Database API](https://codehooks.io/docs/nosql-database-api): The Database API provides a powerful and flexible interface for interacting with the built-in NoSQL datastore in your Codehooks project. This API allows you to perform a wide range of operations, from basic CRUD (Create, Read, Update, Delete) to more advanced querying and data manipulation. - [OpenAPI Documentation](https://codehooks.io/docs/openapi-swagger-docs): Learn how to automatically generate OpenAPI/Swagger documentation from your API routes and data schemas in Codehooks. - [ChatGPT & LLM Prompt](https://codehooks.io/docs/prompt): Use the Codehooks development prompt with ChatGPT, Claude, Gemini, and other LLMs to generate backend APIs. Copy-paste or use coho prompt from the CLI. - [NoSQL Query Tutorial: Examples, Syntax, and Operators Guide](https://codehooks.io/docs/nosql-database-query-language): NoSQL query tutorial with practical examples. Learn NoSQL query syntax, operators, and how to query NoSQL databases. Includes code examples and SQL to NoSQL mapping. - [Queue API](https://codehooks.io/docs/queueapi): Process jobs with async message queues and worker functions. This API is automatically available from the inside of any Codehook function. - [Worker queues](https://codehooks.io/docs/queuehooks): Learn how to implement worker queues for asynchronous job processing. Build scalable serverless worker queue functions with persistent execution. - [Quickstart using the CLI](https://codehooks.io/docs/quickstart-cli): Get started with Codehooks CLI — deploy a complete backend in seconds. Your coding agent or you can create APIs, webhook handlers, and automations from the terminal. - [Real-time API](https://codehooks.io/docs/realtime): The Codehooks.io real-time API enables applications and clients to publish and subscribe to data events. - [REST API Routing](https://codehooks.io/docs/rest-api-app-routes): Complete guide to REST API routing fundamentals and implementation. Learn HTTP methods, route patterns, RESTful design principles, and how to create secure API endpoints with practical examples. Learn how to use Codehooks App routes for serverless JavaScript functions. - [Application secrets](https://codehooks.io/docs/secrets): Learn how to manage application secrets and environment variables in Codehooks. - [Workflow API - Build Reliable Stateful Workflows with durable functions](https://codehooks.io/docs/workflow-api): Create and deploy robust, scalable workflows using durable functions and state management. Build reliable backend systems with automatic retry, state persistence, and distributed processing. - [Overview](https://codehooks.io/docs/): Codehooks.io is the agent-native backend platform. A complete backend — API routes, database, queues, cron, auth, and frontend hosting — that deploys in seconds from the CLI. Your coding agent or you can create, deploy, and iterate without ever leaving the terminal. - [Codehooks Studio](https://codehooks.io/docs/studio): Manage your Codehooks backend from the browser. Query data, edit code, view logs, manage settings, tokens, and environments — all in one place. - [Data aggregation API](https://codehooks.io/docs/aggregation): The JSON aggregation specification is designed to provide a structured way to aggregate JSON data streams. It offers several operators to aid in the summarization and grouping of data streams without the need for extensive code. - [AI Agent Setup](https://codehooks.io/docs/ai-agent-setup): Set up AI coding agents to build Codehooks.io backend APIs. Install the Claude Code plugin for auto-detection and templates, or use the CLI prompt, MCP server, or manual setup. - [AWS Lambda Alternative for AI Agents, Webhooks & APIs (2026)](https://codehooks.io/docs/aws-lambda-alternative): Looking for an AWS Lambda alternative? Codehooks offers CLI-first deployment for AI agents, built-in database and queues, and no complex AWS service orchestration. Compare AWS Lambda vs Codehooks for webhook and API development. - [Firebase Alternative for AI Agents: Webhooks & Automations (2026)](https://codehooks.io/docs/firebase-alternative): Looking for a Firebase alternative? Codehooks offers CLI-first deployment for AI agents, built-in webhook handling, and flat-rate pricing with unlimited compute. Compare Firebase vs Codehooks for backend development. - [Supabase vs Codehooks for Agent Development: Technical Comparison (2026)](https://codehooks.io/docs/supabase-features-comparison): Deep dive into Supabase and Codehooks features for AI agent development. Compare CLI workflows, deployment speed, agent tooling, and migration considerations. - [Supabase vs Codehooks for AI Agents: Pricing Comparison (2026)](https://codehooks.io/docs/supabase-pricing-comparison): Supabase pricing looks simple, but compute is billed separately. Codehooks includes unlimited compute in every plan — and your AI agent can deploy 50 iterations for the same $19/month. Compare Supabase and Codehooks pricing for 2026. - [API Cheat Sheet](https://codehooks.io/docs/apicheatsheet): Essential API reference for Codehooks.io serverless backend. Quick reference for routing, authentication, databases, workflows, queues, and real-time features with direct links to detailed docs. - [The Application Object](https://codehooks.io/docs/appeventapi): Learn how to use the Codehooks Application object to handle REST API routes, background jobs, worker queues, and authentication events in serverless functions. - [Authentication](https://codehooks.io/docs/authentication): Learn how to authenticate your application with API tokens and JWT tokens. - [Auth hooks](https://codehooks.io/docs/authhooks): Learn how to use auth hooks to override the default security behaviour on specific routes. - [Codehooks CLI tool](https://codehooks.io/docs/cli): Learn how to use the Codehooks CLI tool to manage your projects and spaces. - [Client code examples](https://codehooks.io/docs/client-code-examples): Learn how to use Codehooks from popular programming languages and platforms, such as cURL, JavaScript, Python, PHP, Java, C#, Kotlin, R and Swift. - [Concepts overview](https://codehooks.io/docs/concepts): Learn about the main concepts of Codehooks.io - the agent-native backend platform. Understand projects, spaces, and how to deploy backends, webhook handlers, and integrations to the Codehooks serverless cloud. - [REST API query and Database CRUD API](https://codehooks.io/docs/database-rest-api): A new Codehooks.io application has a complete and secure REST API for basic database CRUD (Create, Read, Update, Delete) operations using REST API queries. The CRUD REST API is implemented by bundling the deployed application with the NPM package codehooks-js and the crudlify API. - [Data operators](https://codehooks.io/docs/dataoperators): Data objects in a datastore can be manipulated in any update operation. To manipulate one or many data object(s) a range of special operators can be applied using the updateOne or updateMany API. - [Alpine.js tutorial](https://codehooks.io/docs/examples/alpine-js-tutorial): Moved to: [/blog/connecting-alpine-js-to-database-rest-api-guide](/blog/connecting-alpine-js-to-database-rest-api-guide) - [AWS S3 integration](https://codehooks.io/docs/examples/aws-s3): ![aws-s3](./aws-s3.png) - [ChatGPT REST API node.js](https://codehooks.io/docs/examples/chatgpt-rest-api-nodejs-example): ![chatgpt codehooks](./chatgpt-codehooks.png) - [CRUD REST API Example with Node.js and codehooks.io | Step-by-Step Tutorial](https://codehooks.io/docs/examples/crud-example): Learn how to build a complete CRUD REST API with working example code. Simple step-by-step guide to create, read, update, and delete operations with Node.js and NoSQL database using codehooks.io. - [Data import](https://codehooks.io/docs/examples/dataimport): Codehooks supports import of large data sets from CSV and JSON files. - [GitHub example code](https://codehooks.io/docs/github-example-code): ![github](github-mark.png) - [GraphQL API with database](https://codehooks.io/docs/examples/graphql-example): This serverless Codehooks example backend exposes a graphql endpoint for CRUD operations. - [Hello world! The simple serverless backend example](https://codehooks.io/docs/examples/hello-world-serverless-backend-example): 1. Create a project with the `coho create` CLI command. - [Mailgun integration example](https://codehooks.io/docs/mailgun-integration-example): ![mailgun-example](./maigun-example.png) - [Pet store API](https://codehooks.io/docs/examples/petstore): A simple Pet store API with logging and background jobs and queue processing of complete collection data. - [React backend example](https://codehooks.io/docs/react-backend-example): How do you set up an easy backend for [React](https://reactjs.org/)? In this example we'll create a simple React app front-end with a Node.js codehooks.io backend API and database. The main objective of this example is to learn how to use [codehooks.io](https://codehooks.io) as an API backend for your React app. - [Typescript support](https://codehooks.io/docs/examples/typescript): Codehooks.io supports Typescript (version 5). This example shows how easy it is to use Typescript to create serverless functions. - [File API](https://codehooks.io/docs/fileapi): The File API enables your application to access and manage folders and files. The API is automatically available from the inside of any Codehook function. - [Indexing API](https://codehooks.io/docs/indexapi): Create fast lookup indexes in a datastore. Combined with streaming queries, indexing can be a big improvement for your application performance. - [Job background workers](https://codehooks.io/docs/jobhooks): Learn how to use job hooks to schedule background worker functions as recurring cron jobs or as one-time runAt jobs. - [Codehooks.io Local Development with Docker](https://codehooks.io/docs/localdev): Local development with Docker - [Key-Value Store API](https://codehooks.io/docs/key-value-database-api): Run Redis-like operations against a Key-Value database. This API automatically available from the inside of any Codehook function. - [Database API](https://codehooks.io/docs/nosql-database-api): The Database API provides a powerful and flexible interface for interacting with the built-in NoSQL datastore in your Codehooks project. This API allows you to perform a wide range of operations, from basic CRUD (Create, Read, Update, Delete) to more advanced querying and data manipulation. - [OpenAPI Documentation](https://codehooks.io/docs/openapi-swagger-docs): Learn how to automatically generate OpenAPI/Swagger documentation from your API routes and data schemas in Codehooks. - [ChatGPT & LLM Prompt](https://codehooks.io/docs/prompt): Use the Codehooks development prompt with ChatGPT, Claude, Gemini, and other LLMs to generate backend APIs. Copy-paste or use coho prompt from the CLI. - [NoSQL Query Tutorial: Examples, Syntax, and Operators Guide](https://codehooks.io/docs/nosql-database-query-language): NoSQL query tutorial with practical examples. Learn NoSQL query syntax, operators, and how to query NoSQL databases. Includes code examples and SQL to NoSQL mapping. - [Queue API](https://codehooks.io/docs/queueapi): Process jobs with async message queues and worker functions. This API is automatically available from the inside of any Codehook function. - [Worker queues](https://codehooks.io/docs/queuehooks): Learn how to implement worker queues for asynchronous job processing. Build scalable serverless worker queue functions with persistent execution. - [Quickstart using the CLI](https://codehooks.io/docs/quickstart-cli): Get started with Codehooks CLI — deploy a complete backend in seconds. Your coding agent or you can create APIs, webhook handlers, and automations from the terminal. - [Real-time API](https://codehooks.io/docs/realtime): The Codehooks.io real-time API enables applications and clients to publish and subscribe to data events. - [REST API Routing](https://codehooks.io/docs/rest-api-app-routes): Complete guide to REST API routing fundamentals and implementation. Learn HTTP methods, route patterns, RESTful design principles, and how to create secure API endpoints with practical examples. Learn how to use Codehooks App routes for serverless JavaScript functions. - [Application secrets](https://codehooks.io/docs/secrets): Learn how to manage application secrets and environment variables in Codehooks. - [Workflow API - Build Reliable Stateful Workflows with durable functions](https://codehooks.io/docs/workflow-api): Create and deploy robust, scalable workflows using durable functions and state management. Build reliable backend systems with automatic retry, state persistence, and distributed processing. - [What is a Key-Value Store / Database and how do you use it? Tutorial with examples](https://codehooks.io/docs/part-1): Complete guide to key-value stores: Learn what they are, why companies like Instagram and Discord use them, and how to build high-performance applications. Includes practical code examples, real-world use cases, step-by-step implementation across 7 tutorial parts, and comprehensive FAQ covering all operations, TTL, namespaces, and CLI usage. - [Key-Value Store Basic Operations: Get, Set, Delete | Part 2](https://codehooks.io/docs/part-2-basic-operations): Master key-value database CRUD operations with practical examples. Learn get, set, delete operations, JSON storage, binary data handling, and batch operations in serverless functions. - [Key-Value Store Counters: Increment & Decrement Operations | Part 3](https://codehooks.io/docs/part-3-increment-and-decrement-operations): Learn atomic increment and decrement operations in key-value databases. Build counters, track API usage, manage inventory, and implement real-time analytics with practical examples. - [Working with multiple values and streams | Part 4](https://codehooks.io/docs/part-4-working-with-multiple-values-and-streams): Build IoT time series databases using key-value streaming. Learn to handle multiple values, create smart keys for time series data, and stream sensor observations efficiently. - [Key-Value TTL: Auto-Expiring Data & Cache Management | Part 5](https://codehooks.io/docs/part-5-managing-data-with-ttl-options): Master Time-To-Live (TTL) in key-value databases. Learn cache expiration, session management, temporary data storage, and automatic cleanup with practical examples. - [Key-Value Namespaces: Isolated Key Spaces & Data Organization | Part 6](https://codehooks.io/docs/part-6-multiple-key-spaces): Learn isolated key spaces in key-value databases. Organize data with namespaces, prevent key collisions, implement multi-tenant architecture, and enhance data security. - [Key-Value CLI Commands: Command Line Database Management | Part 7](https://codehooks.io/docs/part-7-key-value-store-interaction-from-cli): Master key-value database CLI operations. Learn command line tools for get, set, delete operations, TTL management, and key pattern matching for efficient database administration. - [Example Applications](https://codehooks.io/docs/example-applications): Complete, production-ready applications you can fork and customize. These showcase full-stack implementations with frontend and backend code. - [Other Integrations](https://codehooks.io/docs/integrations): Step-by-step guides for integrating Codehooks with popular frameworks like React, Next.js, Svelte, and services like MongoDB, Auth0, and AWS S3. - [Other Templates](https://codehooks.io/docs/examples/other-templates): import {Redirect} from '@docusaurus/router'; - [Templates & Examples](https://codehooks.io/docs/examples-overview): Production-ready templates for backends, webhooks, APIs, workflows, and more. Pick a template, run the command, and deploy in seconds. - [Discord Webhooks Integration Example: Slash Commands Without WebSocket](https://codehooks.io/docs/examples/webhooks/discord): Build Discord bots using HTTP webhooks instead of WebSocket connections. Handle slash commands, buttons, and interactions with Ed25519 signature verification. Deploy serverless Discord bots in minutes. - [GitHub Webhooks Integration Example: Automate Repository & CI/CD Events](https://codehooks.io/docs/examples/webhooks/github): Deploy production-ready GitHub webhook handlers in minutes. Handle push events, pull requests, issues, and releases with automatic signature verification, retries, and queue-based processing. - [Webhook Integration Examples](https://codehooks.io/docs/examples/webhooks): Production-ready webhook handlers with signature verification for Stripe, GitHub, Discord, Shopify, and more. Deploy in seconds with complete code examples. - [Jira Webhooks Integration Example: Automate Issues & Sprint Events](https://codehooks.io/docs/examples/webhooks/jira): Deploy production-ready Jira webhook handlers in minutes. Handle issue events, sprint updates, and project changes with JQL filtering, automatic retries, and integrations. - [Mailgun Webhooks Integration Example: Track Email Delivery & Engagement](https://codehooks.io/docs/examples/webhooks/mailgun): Deploy production-ready Mailgun webhook handlers in minutes. Track email delivery, opens, clicks, bounces, and spam complaints with automatic HMAC-SHA256 signature verification. - [OpenAI Webhooks Integration Example: Handle Deep Research & Batch Jobs](https://codehooks.io/docs/examples/webhooks/openai): Deploy production-ready OpenAI webhook handlers in minutes. Handle Deep Research completion, batch job results, and fine-tuning events with automatic signature verification using the standard-webhooks protocol. - [PayPal Webhooks Integration Example: Handle Payments, Refunds & Disputes](https://codehooks.io/docs/examples/webhooks/paypal): Deploy production-ready PayPal webhook handlers in minutes. Handle payment captures, refunds, disputes, and subscription events with automatic signature verification using PayPal's postback verification API. - [SendGrid Webhooks Integration Example: Track Email Delivery & Engagement](https://codehooks.io/docs/examples/webhooks/sendgrid): Deploy production-ready SendGrid webhook handlers in minutes. Track email delivery, opens, clicks, bounces, and spam reports with automatic signature verification using ECDSA. - [Shopify Webhooks Integration Example: Handle Orders & Inventory Events](https://codehooks.io/docs/examples/webhooks/shopify): Deploy Shopify webhook handlers in minutes. Handle order events, inventory updates, and fulfillment changes with HMAC verification, deduplication, and queue-based processing. - [Slack Webhooks Integration Example: Build & Deploy a Bot in Minutes](https://codehooks.io/docs/examples/webhooks/slack): Build and deploy a Slack bot in minutes. Create slash commands, handle events, send notifications via webhooks, and build AI-powered chatbots with memory using Codehooks.io serverless platform. - [Stripe Webhooks Integration Example: Handle Payments with Signature Verification](https://codehooks.io/docs/examples/webhooks/stripe): Deploy Stripe webhooks in 5 minutes with signature verification and automatic retries. Includes invoice.paid vs checkout.session.completed guide, idempotency patterns, and best practices. No server management required. - [Twilio Webhooks Integration Example: Handle SMS & Voice Events](https://codehooks.io/docs/examples/webhooks/twilio): Deploy production-ready Twilio webhook handlers in minutes. Handle incoming SMS messages, voice calls, and delivery status callbacks with automatic signature verification and TwiML responses. - [What Are Webhooks? The Complete Guide with Examples](https://codehooks.io/docs/examples/webhooks/what-are-webhooks): Learn what webhooks are, how they work, and why they're essential for modern integrations. Understand the difference between webhooks and APIs, see real-world examples, and learn how to implement secure webhook endpoints. - [Overview](https://codehooks.io/docs/): Codehooks.io is the agent-native backend platform. A complete backend — API routes, database, queues, cron, auth, and frontend hosting — that deploys in seconds from the CLI. Your coding agent or you can create, deploy, and iterate without ever leaving the terminal. - [Codehooks Studio](https://codehooks.io/docs/studio): Manage your Codehooks backend from the browser. Query data, edit code, view logs, manage settings, tokens, and environments — all in one place. - [Linking Alpine.js to a Database REST API: An Easy Tutorial](https://codehooks.io/blog/connecting-alpine-js-to-database-rest-api-guide): In this guide, we'll explore creating a dynamic web application with Alpine.js. We'll set up a frontend using Alpine.js, a minimalistic JavaScript/HTML framework, and integrate it with a comprehensive REST API database backend. For rapid design, we'll use [DaisyUI](https://daisyui.com/) and [Tailwind CSS](https://tailwindcss.com/). This project offers a hands-on way to see these technologies in... - [Streamline Your Backend with JSON Schema on Codehooks.io](https://codehooks.io/blog/streamline-your-backend-with-json-schema): In modern app development, having a reliable backend is essential. [Codehooks.io](https://codehooks.io) offers a powerful [NoSQL datastore](/docs/nosql-database-api), [JSON schema](https://json-schema.org/) validation, and a secure [REST API](/docs/database-rest-api) to keep your data consistent and your app scalable. - [SQL vs NoSQL: When to use and key differences](https://codehooks.io/blog/sql-vs-nosql): Comprehensive guide comparing SQL vs NoSQL databases. Learn when to use which, key differences, advantages, and use cases to choose the right database for your project. - [Easy API Integration Tutorial: Step-by-Step Guide with Examples](https://codehooks.io/blog/api-integration-made-easy): API integration tutorial with step-by-step guidance. Learn how to integrate APIs, handle webhooks, and connect multiple services. Covers tools, common challenges, and best practices. - [Building Stateful Workflows in JavaScript: A Guide to Codehooks Workflow API](https://codehooks.io/blog/building-stateful-workflows-javascript): At **Codehooks**, our mission is to simplify the development of automations, integrations, and backend APIs. As your app logic grows more complex — onboarding flows, async jobs, conditional steps — it becomes clear: **You need a better way to organize and execute business logic**. - [Best Vibe Coding Tools & Why AI Agents Work Better with Simple Backend Infrastructure](https://codehooks.io/blog/vibe-coding-tools): Discover some of the best vibe coding tools that adapt to your mood and energy levels. From AI-powered assistants to MCP-powered serverless backends, find tools that match your coding vibe or learn more about what vibe coding is. - [API vs REST API: Simple Guide with Clear Differences and Examples](https://codehooks.io/blog/api-rest-api-guide): Learn API vs REST API in minutes. Clear definitions, difference table, real HTTP request/response example, REST principles, and when to use each. - [Building Webhook-Enabled LLM Workflows in JavaScript with Codehooks.io](https://codehooks.io/blog/building-llm-workflows-javascript): Learn how to build reliable, production-ready LLM workflows using Codehooks.io, the Workflow API, and JavaScript — with OpenAI integration, webhook triggers (like GitHub issues), and state management. - [How to Give Your OpenClaw Agent a Backend](https://codehooks.io/blog/openclaw-backend): OpenClaw agents run locally — but they need webhooks, storage, and jobs that run 24/7. Here's how to give your agent a serverless backend it can deploy to itself. - [Vibe Coding a Todo App: From Zero to Deployed in One Session](https://codehooks.io/blog/vibe-coding-todo-app): How fast can you go from an empty folder to a fully deployed full-stack app? Watch a live vibe coding session where an AI agent builds a React + Codehooks todo app in under 5 minutes. - [Stop Building Admin Applications](https://codehooks.io/blog/stop-building-admin-apps): What if you could skip all the CRUD boilerplate and just describe your admin app in JSON? The React Admin Dashboard template for Codehooks.io generates a full-stack app from a single schema file. - [Build a Webhook Delivery System in 5 Minutes with Codehooks.io](https://codehooks.io/blog/build-webhook-delivery-system-5-minutes-codehooks-io): Instantly deploy a production-grade webhook delivery system with retries, queues, HMAC signing, and full customization using Codehooks.io. Save weeks of engineering time—add secure, reliable webhooks to any app in minutes. - [Secure Your Automation Webhooks with Signature Verification (Zapier, Make, n8n, IFTTT)](https://codehooks.io/blog/secure-zapier-make-n8n-webhooks-signature-verification): Generic webhook triggers in Zapier, Make, n8n, and IFTTT accept any incoming request without built-in cryptographic signature verification. Learn how to protect your automations by using Codehooks as a secure webhook gateway for Stripe, GitHub, Shopify, and other webhook sources. - [Webhook-Driven Email Automation in 5 Minutes](https://codehooks.io/blog/2026-01-01-webhook-email-automation): Build production-ready webhook endpoints that power drip email campaigns. Connect Stripe, signup forms, and any service—own your automation stack. - [Auto-Generate OpenAPI Docs From Your Code](https://codehooks.io/blog/auto-generate-openapi-docs-from-code): Stop writing API documentation by hand. Learn how Codehooks automatically generates OpenAPI specs and Swagger UI from your schemas and routes.