Files
Mdeical_Sur_Report/.env.example
admin 014aca8619 Initialize backendized SurClaw report system
- Add React/Vite frontend for login, dashboard, reports, templates, users, settings, AI, speech, and media workflows.

- Add NestJS/Prisma/PostgreSQL backend with auth, dashboard stats, reports, templates, users, departments, settings, files, AI, speech, audit logs, and HTML sanitization.

- Add Prisma schema, migrations, seed data, persistent app sessions, Docker/Nginx deployment files, and upload volume configuration.

- Add Vitest, Playwright, backend integration tests, and project documentation for requirements, design, permissions, API contracts, testing, deployment, security, and progress.

- Configure production local fallback switch and remove unused Gemini direct dependency/env wiring.
2026-05-02 01:41:57 +08:00

10 lines
360 B
Plaintext

# Backend API development defaults.
API_PORT=3000
CORS_ORIGIN="http://localhost:3001"
DATABASE_URL="postgresql://surclaw:surclaw_dev_password@localhost:5433/surclaw?schema=public"
SESSION_SECRET="change-me-in-production"
SESSION_COOKIE_SECURE="false"
FILE_STORAGE_DIR="./uploads"
VITE_API_PROXY_TARGET="http://localhost:3000"
VITE_ENABLE_LOCAL_FALLBACK="true"