Next.js Full Stack App
This example demonstrates the “Production Stack”: Next.js 14 App Router, TypeScript, Tailwind CSS, and Jabrod SDK running on the server side.Architecture
To protect your API keys, the Jabrod SDK runs in Next.js API Routes (Serverless Functions), not in the client browser.SDK Implementation
1. Server-Side Client
We initialize the client in a safe server-side file.2. API Route Handler
Inapp/api/chat/route.ts, we handle the POST request.
