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.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
A workforce management portal for an AI Automation Consultancy — attendance, tasks, payroll, leave, expenses, and company announcements. Built with Next.js, Prisma (Postgres), and Vercel Blob for document storage — designed to deploy to Vercel with real, persistent data.
You need a Postgres database and a Vercel Blob store before the app will run — see Setting up storage below. Once you have both:
Open http://localhost:3000.查看完整 README ↗A workforce management portal for an AI Automation Consultancy — attendance, tasks, payroll, leave, expenses, and company announcements. Built with Next.js, Prisma (Postgres), and Vercel Blob for document storage — designed to deploy to Vercel with real, persistent data.
You need a Postgres database and a Vercel Blob store before the app will run — see Setting up storage below. Once you have both:
npm install
cp .env.example .env # then fill in DATABASE_URL, DIRECT_URL, BLOB_READ_WRITE_TOKEN, SESSION_SECRET
npx prisma migrate deploy # creates the tables
npm run db:seed # only needed once, or after resetting the database
npm run dev
Open http://localhost:3000.
Running npm run db:seed creates one admin account and a handful of sample employee accounts — see prisma/seed.ts for the exact emails and starter passwords it uses. New employees added through the Employees page get a starter password shown on screen right after creation.
Change every seeded password immediately after first login — never leave a seeded/default password in place on a real deployment, and never commit real credentials to this file or anywhere else in the repo.
This project (ceo-portal under the linked Vercel account) already has both provisioned via Vercel's Storage tab:
POSTGRES_* / PG* vars, but this app specifically reads DATABASE_URL and DIRECT_URL, which were set manually to the pooled and unpooled connection strings Neon provided.BLOB_READ_WRITE_TOKEN — nothing else needed for that one.SESSION_SECRET was generated separately (a different random value per environment) and added under Settings → Environment Variables.Important gotcha: Neon's pooled connection string alone isn't enough for Prisma — it needs &pgbouncer=true appended to DATABASE_URL, or every query fails with Can't reach database server even though the pooled endpoint is perfectly reachable (Prisma's prepared-statement usage doesn't work against PgBouncer's transaction-pooling mode without that flag). DIRECT_URL (unpooled, used only for migrations) does not need this flag.
If you ever need to redo this setup from scratch (new project, rotated database, etc.):
DATABASE_URL to Neon's pooled connection string plus &pgbouncer=true, and DIRECT_URL to the unpooled one, for all three environments (production/preview/development).SESSION_SECRET.vercel link, then vercel env pull .env.local.Neon's compute also auto-suspends when idle — the very first query after a period of inactivity can take several seconds and occasionally times out once before succeeding on retry. This is normal and only affects cold starts, not steady traffic.
git push # Vercel deploys automatically (GitHub integration is connected)
# or, from the CLI:
npx vercel --prod
Migrations run automatically as part of every build (prisma migrate deploy && next build, see package.json), so there's nothing extra to do after a schema change beyond pushing.
npm run dev # start the dev server
npm run build # production build
npm start # run the production build
npm run db:studio # browse/edit the database in Prisma Studio
npm run db:seed # re-seed departments, admin, and sample employees
npm run db:migrate # apply pending migrations to the database in DIRECT_URL
secure in production, so the app must be served over HTTPS there — Vercel does this by default./api/documents/[id]) that checks the requester is an admin or the owning employee before streaming the file.npx prisma migrate reset against your Postgres database, careful — this is destructive) and run npm run db:seed again.