Backend for Blogify, an AI-powered blogging platform running on Cloudflare Workers.
Production endpoint and Swagger docs for the API.
- Root API: https://blogify-api.shivamkarn.workers.dev
- Swagger UI: https://blogify-api.shivamkarn.workers.dev/docs
- Hono — routing and middleware
- Better Auth — session-based authentication with OAuth
- Cloudflare D1 — SQLite database at the edge
- Cloudflare KV — rate limiting and caching support
- Cloudflare Queues — background notification processing
- Drizzle ORM — type-safe queries and schema management
- Publishes and manages blog posts with tags, drafts, and cover images
- Supports comments, threaded replies, and reactions
- Allows following users with follower-based notifications
- Queues notifications for background processing
- Exposes OpenAPI docs for the full REST API
Request
└── Hono Router
├── /api/blogs/** → Optional Auth → Blog Controller → D1
├── /api/users/** → Auth Middleware → Follow Controller → D1
└── Queue Consumer → Notifications → D1
All API endpoints are fully documented at the Swagger docs page: