- Cookie-based auth via backend proxy (httpOnly JWTs) - Supabase Postgres persistence for sessions/messages/profiles + RLS - Fix cross-user session leak (token cache keyed by full token, not 50-char prefix) - Fix missing table grants (42501) via migration; auto-provision profiles on user creation - Chat validation, ownership checks, rate limiting, /api/chat/sessions route ordering - Frontend auth-state reset + credentials include - OpenRouter AI provider (OpenAI-compatible base URL, reasoning disabled) - Tests: chatValidation, appState
28 lines
677 B
JSON
28 lines
677 B
JSON
{
|
|
"name": "padhle",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"dev:frontend": "cd frontend && vite",
|
|
"dev:backend": "cd backend && npm run dev",
|
|
"build": "cd frontend && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"pg": "^8.23.0",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.4",
|
|
"concurrently": "^9.2.1",
|
|
"oxlint": "^1.75.0",
|
|
"supabase": "^2.115.0",
|
|
"vite": "^8.2.0"
|
|
}
|
|
}
|