Skip to main content

Templates & Examples

Production-ready templates for backends, webhooks, APIs, workflows, and more. Pick a template, run the command, and you're live. You can also just copy/paste the code into your index.js or index.ts file and deploy.

Looking for webhook integration tutorials?

For comprehensive guides on implementing webhooks for each service, check out our Webhook Integration Examples.

CRUD API Backend

Simple CRUD API database backend using the Codehooks NoSQL database REST API. Perfect starting point for any application needing a database backend.

coho create myapi --template crud-api-backend

React Backend-for-Frontend

React frontend and backend deployed together following the BFF pattern. Vite-powered with lowest latency to your API and database.

coho create myreactbff --template react-bff

Static Website with Tailwind

Deploy static websites instantly with Tailwind CSS included. Perfect for landing pages, documentation sites, or any static content.

coho create mysite --template static-website-tailwindcss

Drip Email Workflow

Production-ready email automation system. Own your drip campaigns without vendor lock-in. JSON-configured steps with SendGrid, Mailgun, or Postmark.

coho create mydrip --template drip-email-workflow

SaaS Metering Webhook

Usage-based billing infrastructure for SaaS applications. Track API calls, compute usage, or any metered resource with webhook-driven event collection.

coho create mymetering --template saas-metering-webhook
Stripe Webhook Handler

Stripe Webhook Handler

Production-ready Stripe webhook with signature verification and automatic event storage. Handle payments, subscriptions, and customer events.

coho create mystripe --template stripe-webhook-handler
Stripe (Minimal)

Stripe (Minimal)

Minimal Stripe payment webhook with signature validation. Process payment events with just the essentials.

coho create mystripe --template webhook-stripe-minimal
PayPal

PayPal

PayPal payment webhook with signature verification. Handle payments, refunds, and dispute events.

coho create mypaypal --template webhook-paypal-minimal
Shopify

Shopify

Shopify e-commerce event processor with HMAC verification. Handle orders, inventory, and customer events.

coho create myshopify --template webhook-shopify-minimal
Slack Memory Bot

Slack Memory Bot

Advanced Slack bot with persistent memory and pluggable search adapters. Demonstrates webhook handling and modular architecture.

coho create myslackbot --template slack-memory-bot
Discord

Discord

Discord bot interaction handler with Ed25519 verification. Build interactive Discord bots and slash commands.

coho create mydiscord --template webhook-discord-minimal
Twilio

Twilio

Twilio SMS/voice event handler with TwiML response support. Process incoming messages and calls.

coho create mytwilio --template webhook-twilio-minimal
GitHub

GitHub

GitHub event handler with HMAC SHA-256 verification. Automate workflows based on repository events.

coho create mygithub --template webhook-github-minimal
Webhook Delivery System

Webhook Delivery System

Complete webhook delivery infrastructure for sending webhooks to your customers. Queue-based with automatic retries and HMAC signing.

coho create mywebhooks --template webhook-delivery
Clerk

Clerk

Clerk authentication event handler using Svix verification. React to user signup, login, and profile updates.

coho create myclerk --template webhook-clerk-minimal
Browse all templates

All templates are open source and available in the codehooks-io-templates GitHub repository. Feel free to fork, modify, or contribute!


Codehooks Authentication

codehooks-auth is our official authentication library - a complete, open-source authentication solution that gives you full control over your authentication process and user data.

Built with security and flexibility in mind, it supports multiple authentication methods:

  • One-time password (OTP) authentication
  • OAuth integration (Google and GitHub)
  • JWT-based access and refresh tokens
  • Email-based user verification

The authentication system integrates seamlessly with:

  • Codehooks.io: For backend API and database management
  • Multiple email providers: Including Mailgun, Postmark, and SendGrid
  • Custom templates: Fully customizable HTML/CSS templates for all auth pages
  • OAuth providers: Ready-to-use integrations with major providers


Get started with Codehooks Authentication

Install via npm: npm install codehooks-auth. The library is available as an npm package with complete documentation and examples in the Github repository.


Example Applications

Complete, production-ready applications you can fork and customize. These showcase full-stack implementations with frontend and backend code.

Codehooks Analytics

Open-source web analytics with full control over your data. Cookie-free tracking, real-time access, no vendor lock-in. Built with Alpine.js, TailwindCSS, and DaisyUI.

Directory Template

Build SEO-optimized directory services with server-side rendering, automatic screenshots, sitemap generation, and full-text search.