Lalabase
Tickets, Doku, Zeiterfassung und Kundengespräche an einem Ort, durchsuchbar per KI. Für Softwarefirmen mit Kundenprojekten. Open Source: auf deinem eigenen Server oder in unserer Cloud in Deutschland.
翻譯準備中
End-to-end Value Engineering (VE) → Value Realization (VR) platform: 8-phase VE Job Plan, 7-phase realization lifecycle, first-class VE→VR handover, FAST diagrams, weighted evaluation matrices, quantified business cases, and DOCX/XLSX exports. Next.js 15 · Prisma · Postgres · Auth.js · Claude AI drafting.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
🔗 Live demo: value-lifecycle-platform.vercel.app — running on Vercel + Neon. The demo-account picker is off in production (accounts aren't listed publicly), so sign in with a demo email + password. To show the one-click role picker on a deployment, set SHOW_LOGIN_MEMBER_PICKER=true.%2C%20and%20AUTH_TRUST_HOST%3Dtrue&envLink=https%3A%2F%2Fgithub.com%2Fpaulojorge1963%2Fvalue-lifecycle-platform%2Fblob%2Fmain%2FDEPLOYMENT.md&project-name=value-lifecycle-platform&repository-name=value-lifecycle-platform)檢視完整 README ↗🔗 Live demo: value-lifecycle-platform.vercel.app — running on Vercel + Neon. The demo-account picker is off in production (accounts aren't listed publicly), so sign in with a demo email + password. To show the one-click role picker on a deployment, set SHOW_LOGIN_MEMBER_PICKER=true.
Before it works, create a Postgres database (a free Neon DB is recommended) and run
prisma db push+ seed against it — the button asks forDATABASE_URL,DIRECT_URL,AUTH_SECRETandAUTH_TRUST_HOSTduring import. Full walkthrough: DEPLOYMENT.md.
An end-to-end web app for three complementary roles across the full value lifecycle:
docs/CS-MODULE-DESIGN.md.The VE → VR handover is first-class (every realization track links back to its source study, business case, baselines, KPIs and success criteria), and a Customer Success engagement references the account's studies and tracks — surfacing their value, never duplicating it.
Supports three configurable industry profiles out of the box — Construction & Infrastructure, Manufacturing & Product Development, and Enterprise Software / SaaS — with industry as configuration, not code.
📘 New here? Read the User Guide — how to run a value study end-to-end, from a fresh problem through the handover to proven realized value.
See ARCHITECTURE.md for the full design, data model and user flows, and docs/MAINTENANCE.md for maintainer notes — migrations, the demo-kit regeneration chain, and build/deploy gotchas.
🧭 Proposed: docs/CS-MODULE-DESIGN.md — a draft design for a Customer Success pillar (continuous 8-stage lifecycle) alongside VE and VR. Not yet built.
Next.js 15 (App Router) · TypeScript · Prisma · PostgreSQL · Tailwind CSS · docx / exceljs exports.
# 1. Install
npm install
# 2. Configure the database URL
cp .env.example .env
# edit .env → DATABASE_URL="postgresql://<user>@localhost:5432/value_consultancy?schema=public"
# 3. Create the database
createdb value_consultancy
# 4. Create the schema + generate the client
npx prisma db push
# 5. Seed config (industries, phases, KPIs, templates) + demo data
npm run db:seed
# 6. Run
npm run dev # http://localhost:3200
Sign in at /login (unauthenticated requests are redirected there by middleware). In local dev the sign-in screen lists the demo workspace's members, so you can jump straight in as Value Engineer, Value Realization Manager, Customer Success Manager, Reviewer, Stakeholder/Viewer or Admin — navigation and permissions adapt. The demo workspace signs in one-click when DEMO_PASSWORD is set (otherwise pick a member to prefill their email and type the password). The member picker is off in production by default (SHOW_LOGIN_MEMBER_PICKER=true re-enables it); demo accounts share the DEMO_PASSWORD password — see DEPLOYMENT.md.
Create your own workspace at /register — each sign-up creates a new, isolated organization with the signer as Admin. Admins get a Team page (/settings/team) to add members, assign roles, reset passwords, and remove access. No email server needed (admins set an initial password to share).
| Script | Action |
|---|---|
npm run dev | Dev server on :3200 |
npm run db:seed | Seed config + demo data (idempotent for config; resets demo studies/tracks) |
npm run db:reset | Drop, re-migrate and re-seed |
npx prisma studio | Browse the database |
npx tsx scripts/import-workbook.ts <file.xlsx> | Import a capture workbook as a study/track (see below) |
Meeting-capture Excel workbooks (a VE Discovery Workbook, VR Intake Workbook or CS Intake Workbook, whose columns/dropdowns mirror the schema) can be loaded straight into the app:
npx tsx scripts/import-workbook.ts <file.xlsx> [--owner <email>] [--org <id>] [--code <CODE>] [--dry-run]
--dry-run prints the full plan and writes nothing. --owner sets the owner (defaults to an org VE/VRM). A study/track code is auto-assigned unless --code is given.GET/POST /api/studies · GET /api/studies/:idGET/POST /api/tracks — POST creates a track by handing over a study (the VE→VR bridge)GET /api/kpisGET /api/export/business-case/:studyId → Word · GET /api/export/vrp/:trackId → Word · GET /api/export/kpis → Excelsrc/lib/auth.config.ts (edge-safe, used by src/middleware.ts for route protection) and src/lib/auth.ts (adds the Credentials provider using Prisma + bcrypt). getCurrentUser()/can() in src/lib/session.ts resolve role and enforce RBAC. Requires AUTH_SECRET in .env (generate with openssl rand -base64 32). To add OAuth/email providers, extend the providers array in src/lib/auth.ts.@anthropic-ai/sdk, model claude-opus-5, structured outputs) via src/lib/ai.ts. It's gated on ANTHROPIC_API_KEY — set it in .env to enable AI drafting; when unset, the buttons fall back to template starter text seeded from the industry profile, so the feature works with no external dependency. Buttons label themselves "…with AI" vs "…(template)" accordingly.prisma db push is used for the first pass; switch to prisma migrate for versioned migrations before production.MIT © 2026 Paulo Jorge