尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Real Investment Portfolio System
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Working prototype with correct, verified dependency versions.
All page data is hardcoded in lib/mock-data.ts. Infrastructure stubs are wired and ready to fill in.
Vercel AI SDK v6 — built-in AI Gateway
You can now call models without a provider package:
Or directly with a provider for more control:
Drizzle + Supabase — prepare: false required
Supabase's connection pooler (Transaction mode) does not support prepared statements:檢視完整 README ↗Working prototype with correct, verified dependency versions.
All page data is hardcoded in lib/mock-data.ts. Infrastructure stubs are wired and ready to fill in.
You can now call models without a provider package:
import { generateObject } from "ai";
// No import needed for the provider — Gateway handles routing
const { object } = await generateObject({
model: "anthropic/claude-sonnet-4-5",
schema: statementSchema,
prompt: "...",
});
Or directly with a provider for more control:
import { anthropic } from '@ai-sdk/anthropic'
const { object } = await generateObject({ model: anthropic('claude-sonnet-4-5-20251101'), ... })
prepare: false requiredSupabase's connection pooler (Transaction mode) does not support prepared statements:
const client = postgres(process.env.DATABASE_URL!, { prepare: false });
cp .env.example .env.local # fill in your Supabase + LLM keys
pnpm install
pnpm dev
| File | Purpose |
|---|---|
lib/db.ts | Drizzle + Postgres connection (with prepare: false) |
lib/supabase.ts | Browser + server Supabase clients using @supabase/ssr |
middleware.ts | Auth session refresh + route protection |
db/schema.ts | Full Drizzle schema (properties, statements, reports, mortgages) |
drizzle.config.ts | Drizzle Kit config (uses direct URL, not pooler) |
.env.example | All environment variables needed |
app/api/extract/route.ts | PDF → LLM extraction with AI SDK v6 pattern |
app/api/statements/route.ts | Statement persistence (Drizzle TODO comments) |
app/api/reports/route.ts | Report generation (Drizzle TODO comments) |
| URL | Used for | Setting |
|---|---|---|
DATABASE_URL | Runtime queries via Drizzle | Transaction pooler (port 6543) — prepare: false required |
DATABASE_URL_DIRECT | drizzle-kit migrate / generate | Direct connection (port 5432) |
Both are in Supabase Dashboard → Project Settings → Database.