# Codehooks - Webhook Platform for JavaScript/Node.js Developers > Codehooks is a serverless webhook platform. Deploy Stripe, Shopify, GitHub, Discord, Twilio, Slack webhook handlers in ~5 seconds. Built-in NoSQL database, key-value store, queues, workers, cron jobs. Flat-rate pricing: Free/$19/$39 per month with unlimited compute on paid plans. Founded 2020, spin-off from RestDB (operating since 2016). 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 Complete Backend for Webhooks and Automations ## What is Codehooks.io? Codehooks.io is a **serverless backend platform** purpose-built for **webhook integrations and event-driven automations**. Deploy complete webhook handlers in minutes with built-in database, background workers, queues, and authentication—all wired together. No API Gateway + Lambda + DynamoDB + SQS assembly required. Perfect for **Stripe, Shopify, GitHub, Slack** and any webhook provider, Codehooks.io provides everything you need to receive, verify, process, and act on webhook events—with **flat-rate pricing** and no surprise compute bills. ### Why Codehooks.io for Webhooks? - **Complete Webhook Infrastructure** – Database, key-value store, background workers, queues, and authentication all built-in. Deploy webhook handlers in minutes, not days. - **Signature Verification Built-In** – Access `request.rawBody` for webhook signature verification with Stripe, Shopify, GitHub, and other providers. - **Reliable Event Processing** – Workflow API with automatic retries, state management, and error recovery ensures no webhook event is lost. - **AI-Powered Development** – Build webhook handlers with AI agents (Cursor, Claude). MCP integration and structured prompts enable autonomous development. - **Flat-Rate Pricing** – Unlimited compute included. No surprise bills from webhook volume or execution time. - **Instant Deployment** – From zero to live webhook endpoint in under a minute with CLI or web-based Studio. Codehooks.io is the **fastest way to deploy production-ready webhook handlers** — designed for **reliability and developer productivity**. --- ## Key Features for Webhook Processing **Webhook Signature Verification:** Built-in `request.rawBody` property provides access to the raw, unparsed request body required by Stripe, Shopify, GitHub, and other webhook providers for HMAC signature verification. **Instant Deployment:** Deploy complete webhook endpoints in seconds with `coho create`, `coho deploy`. No configuration files, no infrastructure setup, no separate database provisioning needed. **Reliable Event Processing:** Workflow API with state management, automatic retries, distributed processing, and error recovery. Perfect for complex webhook integrations and multi-step automations. **Built-In Database & Queues:** NoSQL document database and Redis-like key-value store ready instantly. Durable job queues for asynchronous webhook processing and long-running tasks. **AI-Assisted Development:** Structured prompts, MCP server integration, and the cohesive `codehooks-js` library enable AI agents (Cursor, Claude) to read, write, deploy, and manage your webhook handlers autonomously. **Developer-Friendly Tools:** A web-based Studio for managing code and data, plus a comprehensive CLI for productivity, CI/CD, and automation. **Spaces for Organization:** Manage webhook projects across development, testing, and production with isolated "Spaces." --- ## Use Cases: Webhook Processing + Event-Driven Automations Codehooks.io excels at **webhook integrations** and **event-driven workflows**. Unlike platforms that require complex infrastructure assembly, Codehooks provides a single, cohesive platform where you can handle: - **Webhook ingestion** from Stripe, Shopify, GitHub, Slack, and any service - **Signature verification** with `request.rawBody` for security - **Event storage** in built-in database with instant queries - **Async processing** with background workers and queues - **AI/LLM processing** for intelligent routing and analysis - **Persistent state management** across multi-step workflows - **Failure handling** with automatic retries and error recovery - **Downstream automation** triggering actions in other systems - **Automatic scaling** with no ops overhead **Example Webhook Flow:** Receive Stripe payment webhook → verify signature → store payment data → trigger fulfillment workflow → update inventory → send customer notification → log to analytics → schedule follow-up email. This blend of webhook-ready infrastructure, reliable processing, and AI integration makes Codehooks the ideal backend platform for event-driven developers. --- ## Common Webhook Integration Scenarios - **Payment Processing:** Handle Stripe, PayPal, or Square webhooks for payment confirmations, refunds, and subscription changes. - **E-commerce Integration:** Process Shopify order webhooks for fulfillment automation and inventory management. - **Git Operations:** Respond to GitHub/GitLab webhooks for CI/CD pipelines and automated deployments. - **Communication Automation:** Process Slack, Discord, or Teams webhooks for chatbot interactions and notifications. - **CRM Sync:** Handle Salesforce, HubSpot webhooks to sync customer data and trigger workflows. - **Real-time Data Processing:** Ingest IoT sensor data, live events, and real-time updates from any source. --- ## Core Concepts - **Projects & Spaces:** Isolated environments for dev/test/prod webhook endpoints. - **Serverless Deployment:** Fully managed, automatically scaled webhook runtime. - **Webhook Signature Support:** `request.rawBody` for HMAC verification with any provider. - **Workflow API:** Build resilient, multi-step automations with retries and state management. - **Background Processing:** Queues and workers for async event handling. - **LLM-First Development:** MCP-ready, prompt libraries, and coherent SDK for AI-assisted coding. - **Instant Database APIs:** Store and query webhook events with built-in NoSQL database. - **Deployment in Seconds:** Just a few CLI commands or clicks in web-based Studio to go live. --- ## Key Features | Feature | Description | | :--------------------------- | :----------------------------------------------------------------------------------- | | Webhook Signature Support | `request.rawBody` for HMAC verification with Stripe, Shopify, GitHub, and others. | | REST API & CRUD Operations | Secure REST API for Create, Read, Update, Delete using `codehooks-js`. | | Workflow API | Build resilient workflows with automatic retries, state management, error recovery. | | Background Jobs & Queues | Durable workers and cron jobs for async webhook processing. | | Key-Value Store | Redis-like KV store for caching and fast lookups. | | Data Aggregation & Operators | Aggregate and analyze webhook events with rich query operators. | | Authentication & Auth Hooks | API tokens, JWT tokens, and custom hooks for route-level control. | | File API (Blob Storage) | Store webhook attachments and files with built-in blob storage. | | Real-time API | Pub/sub for live webhook event streaming. | | Frontend Hosting | Host webhook dashboards and admin interfaces alongside your APIs. | --- ## Quick Start: Deploy Your First Webhook Handler ### Using Templates (Recommended) 1. **Install CLI:** `npm install -g codehooks` 2. **Create from Template:** `coho create --template ` 3. **Deploy:** `coho deploy` 4. **Configure Webhook Provider:** Add your endpoint URL **Available Templates:** - `webhook-stripe-minimal` - Stripe payment webhook handler - `webhook-shopify-minimal` - Shopify order webhook handler - `webhook-github-minimal` - GitHub event webhook handler - `webhook-discord-minimal` - Discord bot interaction handler - `webhook-twilio-minimal` - Twilio SMS/voice webhook handler - `webhook-clerk-minimal` - Clerk authentication webhook handler - `stripe-webhook-handler` - Full Stripe webhook with TypeScript - `slack-memory-bot` - Slack bot with persistent memory - `crud-api-backend` - Simple CRUD API backend - `react-bff` - React backend-for-frontend pattern All templates include signature verification and are production-ready. ### Custom Webhook Handler 1. **Install CLI:** `npm install -g codehooks` 2. **Create Project:** `coho create my-webhook-handler` 3. **Deploy:** `coho deploy` 4. **Configure Provider:** Add your endpoint URL to your webhook provider 5. **Verify Signatures:** Use `request.rawBody` for HMAC verification Your webhook endpoint is live in under a minute (sign up and login first). --- ## Guides & References ### Webhook Development - [REST API Routing](https://codehooks.io/docs/rest-api-app-routes) – Create webhook endpoints with `app.post()` - [Request Object](https://codehooks.io/docs/rest-api-app-routes#the-rest-api-request-object) – Access `request.rawBody` for signature verification - [Workflow API](https://codehooks.io/docs/workflow-api) – Build reliable multi-step webhook processing ### Data & Storage - [REST API & Database CRUD](https://codehooks.io/docs/database-rest-api) – Store webhook events - [NoSQL Query Language](https://codehooks.io/docs/nosql-database-query-language) – Query webhook data - [Key-Value Store](https://codehooks.io/docs/keyvalueapi) – Cache webhook state - [File API](https://codehooks.io/docs/fileapi) – Store webhook attachments ### Background Processing - [Queue API & Workers](https://codehooks.io/docs/queueapi) – Async webhook processing - [Cron Jobs](https://codehooks.io/docs/cron) – Scheduled webhook tasks ### Security - [Authentication](https://codehooks.io/docs/authentication) – Secure webhook endpoints - [Auth Hooks](https://codehooks.io/docs/authhooks) – Route-level webhook security --- ## Developer Resources - [CLI Tool Guide](https://codehooks.io/docs/cli) - [Client Code Examples](https://codehooks.io/docs/client-code-examples) - [Prompt Engineering for LLMs](https://codehooks.io/docs/chatgpt-backend-api-prompt) - [MCP Server Integration](https://github.com/RestDB/codehooks-mcp-server) --- ## Webhook Integration Examples - [Stripe Webhook Handler](https://codehooks.io/docs/examples/examples-overview) - [Shopify Order Processing](https://codehooks.io/docs/examples/examples-overview) - [GitHub CI/CD Pipeline](https://codehooks.io/docs/examples/examples-overview) - [Slack Bot Integration](https://codehooks.io/docs/examples/examples-overview) --- ## FAQ ## 1. Can Codehooks handle webhook integrations like Stripe, Shopify, and GitHub? Yes! Codehooks is purpose-built for webhook integrations. We provide `request.rawBody` for signature verification, reliable delivery with automatic retries via our Workflow API, and built-in database and queues to process webhook events. Deploy secure webhook endpoints in minutes. ## 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. Do you offer an SLA or performance guarantees? We do not currently offer a formal SLA. Performance is designed for production workloads, but uptime commitments and response time guarantees are not part of our service yet. ## 4. Where is my data stored and how are backups handled? All data and backups are stored in the **EU**. Paid plans include **daily automated backups** which you can request to be restored at any time. ## 5. What are the database size and request limits? Limits depend on your plan (see pricing). For example, the free plan includes 150 MB database storage and 60 API calls per minute, while Pro and Team plans scale storage and requests significantly. ## 6. Can I migrate existing data into Codehooks.io? Yes. You can **import JSON data directly** into your database collections. You can also export your data at any time. ## 7. Can I use a custom domain? Yes. Paid plans support custom domains. You configure this by creating an **A record** in your DNS pointing to the IP address we provide. ## 8. How is Codehooks.io different from Firebase or Supabase? Codehooks.io is **LLM-first** and **webhook-optimized**: our `codehooks-js` library integrates seamlessly with the built-in database, key-value store, worker queues, and jobs. This makes it extremely easy to create webhook handlers, automations and integrations quickly (especially with LLMs and MCP). Unlike competitors, all paid plans include **unlimited compute with no surprise overages**. ## 9. 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** and can be managed through the **UI or CLI**. We provide **encryption at rest**, and paid plans can **restrict access by IP address**. We are **GDPR compliant**. ## 10. What happens if I exceed my plan limits? If you exceed your request rate, you'll receive an **HTTP 429 (Too Many Requests)** status for one minute before availability resumes. Storage and other limits can be increased by upgrading plans. ## 11. Can I upgrade or downgrade my plan? You can **upgrade at any time**. Downgrades aren't supported because resources are pre-allocated. However, data can easily be exported and re-imported into a smaller plan if you want to scale down. ## 12. Can I develop and test locally? Yes! You can use our **Docker setup** for local development without signing up. See our [local development documentation](/docs/local-development-with-docker) for setup instructions. ## 13. How do I manage multiple environments (dev/staging/prod)? You can create **Spaces** within your project - each Space is totally self-contained with its own database, code, and settings. This makes it perfect for separating development, staging, and production environments. ## 14. What monitoring and debugging tools are available? Both the **CLI and web UI provide live logs** so you can monitor your webhook handlers in real-time and debug issues as they occur. ## 15. How long has the platform been operating? Codehooks.io is developed by **RestDB**, which has been operating since **2016**. Codehooks is built on years of experience running SaaS backend services. ## 16. What happens to my data if I cancel? Your data will be **automatically deleted after 2 weeks** following plan cancellation. Make sure to export any data you need before canceling. ## 17. Do you have a status page for outages? We don't have a dedicated status page yet. Service notifications and incident updates are currently posted on **X (Twitter)**. ## 18. How do webhooks, CRON jobs and background processing work? Webhooks are handled as regular API routes with `app.post()`. For async processing, use our **Workflow API** or **queue system**. CRON jobs are defined in your code using `app.job("* * * * * ", ...)` syntax. To stop a job, you need to redeploy your code. **One-off "runAt" jobs are not available on the Development plan**. Cron jobs on the Development plan are limited to **1 per hour**. The maximum speed of workers for queue processing: **1 per second on Development, and unlimited on Pro and on Team**. ## 19. What Node.js version do you support and are there NPM restrictions? We support **Node.js versions 18 currently**. Most NPM libraries work, except those requiring direct disk/OS access and certain blocked packages (contact support for the specific list). --- ## Pricing | Feature | Development (Free) | Pro ($19/month) | Team ($39/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 | 2 | | Spaces | 1 | 1 | 2 | | Backups | CLI only | Daily | Daily | | Support | Chat | Chat + Email | Prioritized | | Extra Developer | – | $5 each | $5 each | | Extra DB Storage | – | $0.1/GB | $0.1/GB | | Extra File Storage | – | $0.02/GB | $0.02/GB | | Extra Custom Domain | – | $10 each | $10 each | | Extra Space | – | $10 each | $10 each | --- **In short:** Codehooks.io delivers **complete webhook infrastructure + reliable event processing** with **flat, predictable pricing**—the simplest way to build webhook integrations and event-driven backends. ## Table of Contents for the documentation on codehooks.io - [Overview](https://codehooks.io/docs/): Codehooks is a serverless platform for webhooks, API integrations, and automations. Deploy production-ready webhook handlers for Stripe, Shopify, GitHub, Discord, Twilio, Slack, and more in minutes. Built-in database, background workers, queues, and workflows — everything you need to build reliable backend integrations. - [Concepts overview](https://codehooks.io/docs/concepts): Learn about the main concepts of Codehooks.io - the ultimate webhooks platform. Understand projects, spaces, and how to deploy webhook handlers and integrations to the Codehooks serverless cloud. - [Quickstart using the CLI](https://codehooks.io/docs/quickstart-cli): Learn how to deploy webhook handlers and integrations in minutes using the Codehooks CLI. Deploy production-ready Stripe, Shopify, and GitHub webhooks with built-in templates. - [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. - [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 ultimate webhooks platform. Understand projects, spaces, and how to deploy 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. - [ChatGPT Prompt for Building Backend APIs](https://codehooks.io/docs/prompt): A comprehensive guide and template for generating Codehooks.io backend APIs using ChatGPT, Claude Code and other LLMs. Includes best practices, code examples, and implementation patterns. - [NoSQL and REST API Query language](https://codehooks.io/docs/nosql-database-query-language): Learn how to to use REST API NoSQL queries with our comprehensive guide. Find REST API NoSQL query examples and understand how to use NoSQL query APIs and databases. - [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): Learn how to deploy webhook handlers and integrations in minutes using the Codehooks CLI. Deploy production-ready Stripe, Shopify, and GitHub webhooks with built-in templates. - [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 is a serverless platform for webhooks, API integrations, and automations. Deploy production-ready webhook handlers for Stripe, Shopify, GitHub, Discord, Twilio, Slack, and more in minutes. Built-in database, background workers, queues, and workflows — everything you need to build reliable backend integrations. - [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. - [AWS Lambda Alternative for Webhooks & APIs (2025)](https://codehooks.io/docs/aws-lambda-alternative): Looking for an AWS Lambda alternative? Codehooks offers simpler deployment, built-in database and queues, and no complex AWS service orchestration. Compare AWS Lambda vs Codehooks for webhook and API development. - [Firebase Alternative for Webhooks & Automations (2025)](https://codehooks.io/docs/firebase-alternative): Looking for a Firebase alternative? Codehooks offers faster deployment, built-in webhook handling, and flat-rate pricing with unlimited compute. Compare Firebase vs Codehooks for backend development. - [Supabase vs Codehooks: Features & Technical Comparison 2025](https://codehooks.io/docs/supabase-features-comparison): Deep dive into Supabase and Codehooks features, development experience, and migration considerations for technical decision-makers. - [Supabase Pricing vs Codehooks (2025): All-Inclusive Plans with Compute](https://codehooks.io/docs/supabase-pricing-comparison): Supabase pricing looks simple, but compute is billed separately. Codehooks includes unlimited compute in every plan for predictable, lower costs. Compare Supabase and Codehooks pricing for 2025. - [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 ultimate webhooks platform. Understand projects, spaces, and how to deploy 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. - [ChatGPT Prompt for Building Backend APIs](https://codehooks.io/docs/prompt): A comprehensive guide and template for generating Codehooks.io backend APIs using ChatGPT, Claude Code and other LLMs. Includes best practices, code examples, and implementation patterns. - [NoSQL and REST API Query language](https://codehooks.io/docs/nosql-database-query-language): Learn how to to use REST API NoSQL queries with our comprehensive guide. Find REST API NoSQL query examples and understand how to use NoSQL query APIs and databases. - [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): Learn how to deploy webhook handlers and integrations in minutes using the Codehooks CLI. Deploy production-ready Stripe, Shopify, and GitHub webhooks with built-in templates. - [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. - [Examples - webhook templates and integrations](https://codehooks.io/docs/examples-overview): Explore Codehooks integration examples and production-ready templates for React, Next.js, authentication, analytics, and more serverless applications. - [Discord Bot Example: Serverless Slash Commands & Interactions (Node.js)](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 Example: Automate CI/CD & Repository Events (Node.js)](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. - [Jira Webhooks Example: Automate Issues & Workflows (Node.js)](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. - [Shopify Webhooks Example: Process Orders & Inventory Updates (Node.js)](https://codehooks.io/docs/examples/webhooks/shopify): Deploy production-ready Shopify webhook handlers in minutes. Handle order events, inventory updates, and fulfillment changes with automatic HMAC verification, retries, and queue-based processing. - [Slack Bot Example: Build & Deploy in Minutes (Node.js)](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 Example (Node.js): Handle Payments with Signature Verification (Node.js)](https://codehooks.io/docs/examples/webhooks/stripe): Deploy production-ready Stripe webhook handlers in minutes. Handle payment events like payment_intent.succeeded, invoice.paid, and customer.subscription.created with automatic signature verification, retries, and queue-based processing. - [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 is a serverless platform for webhooks, API integrations, and automations. Deploy production-ready webhook handlers for Stripe, Shopify, GitHub, Discord, Twilio, Slack, and more in minutes. Built-in database, background workers, queues, and workflows — everything you need to build reliable backend integrations. - [Send bulk emails using Mailgun and serverless Javascript hooks](https://codehooks.io/blog/mailgun-integration): Email remains the top communication tool for businesses. - [Build a random quotes API using serverless JavaScript and a NoSQL database](https://codehooks.io/blog/serverless-quotes-api): API's, Microservices and JavaScript are the digital glue of the modern Internet. - [How to authenticate a React app against a serverless backend API with Auth0](https://codehooks.io/blog/how-to-authenticate-a-react-app-against-a-serverless-backend-api-with-auth0): Most web applications and mobile apps need a way for users to authenticate themselves so that the backend APIs and database can access data in the context of the user. One of the leading service providers within authentication services is Okta [Auth0](https://auth0.com). They provide a very powerful platform and a ton of features for creating optimal user login experiences. - [How to quickly create a CRUD REST API backend using codehooks.io - with code example](https://codehooks.io/blog/how-to-quickly-create-a-crud-rest-api-backend-using-codehooks-io-with-code-example): Create, read, update, and delete operations, often popularly known as [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) — are essential in any application interacting with a database. In the schemaless and document oriented [NoSQL](https://en.wikipedia.org/wiki/NoSQL) world, it's important to control both query and data manipulation from your application. This blog post show... - [What is JAMstack - an introduction](https://codehooks.io/blog/what-is-jamstack-an-introduction): What is JAMstack about? The JAMstack architecture is gaining popularity among frontend developers for its ability to provide a modern, fast, and secure web development experience. - [How to create a Node.js REST API backend using ChatGPT and codehooks.io](https://codehooks.io/blog/how-to-create-a-nodejs-restapi-backend-using-chatgpt): [ChatGPT](https://openai.com/blog/chatgpt/) and other advanced AI language models have become an integral part of the modern development workflow. From GPT-4 to Claude and other competitors, these AI assistants have transformed how we approach coding and content creation. And we understand why! These AI models have proven themselves invaluable for producing all kinds of text and code, helping d... - [Simplify Your Codehooks Development with Devcontainers](https://codehooks.io/blog/simplify-codehooks-development-with-devcontainers): In this blog post, we'll show you how to set up and use a devcontainer for Codehooks development. Devcontainers, a feature of Visual Studio Code, allow you to create a consistent development environment that can be shared across your team, streamlining your workflow and reducing setup time. Developers on OS X, Windows and Linux will now get the same environment with everything set up correctly ... - [React Todo example App with secure NoSQL API using Auth0.com](https://codehooks.io/blog/react-todo-example-app-with-secure-nosql-api-using-auth0.com): import shot1 from './img/screenshot1.png'; - [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. - [API Integration: Meaning, Tools, and Step-by-Step Guide with Examples](https://codehooks.io/blog/api-integration-made-easy): Explore the process and meaning of API integration with this step-by-step guide with examples and tools. Learn how to enhance application functionality, handle webhooks, and manage multiple APIs through backend tools and integration with Codehooks.io. Includes FAQ. - [How to Use ChatGPT to Build Node.js Backend APIs: Step-by-Step Guide with Codehooks.io](https://codehooks.io/blog/how-to-use-chatgpt-build-nodejs-backend-api-codehooks): Learn how to use ChatGPT to generate correct and efficient Node.js backend code with Codehooks.io. This guide provides a structured prompt template with detailed examples covering APIs, databases, worker queues, and job scheduling. - [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. - [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.