Routes Directory

This directory contains all the route handlers for the webhookAPI application. Each file exports a Hono app that handles a specific route or group of related routes.

Structure

  • auth.ts - Authentication middleware
  • example-database-pages.ts - Handles /example/database/pages endpoint
  • example-database-page.ts - Handles /example/database/page endpoint
  • example-child-pages.ts - Handles /example/child_pages endpoint
  • example-callout.ts - Handles /example/callout endpoint
  • example-guest-welcome.ts - Handles /example/guest/welcome endpoint
  • count-examples.ts - Handles /countExamples endpoint
  • property-injections.ts - Handles /property/injections endpoint
  • test-routes.ts - Handles /asdf, /qwer/:id, and /test/:id endpoints
  • root.ts - Handles the root / endpoint