Neon
Using Neon PostgreSQL with Quickback Stack. Connection modes, Drizzle integration, and Neon Authorize setup.
Neon provides serverless PostgreSQL that works with Cloudflare Workers via HTTP connections.
Configuration
database: defineDatabase("neon", {
connectionMode: 'auto',
pooled: true,
})Connection Modes
- HTTP Mode — For Cloudflare Workers and edge functions (stateless)
- WebSocket Mode — For Node.js and Bun (persistent connections)
See Neon Integration for the complete setup guide and RLS policy details.