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.
翻譯準備中
The Counsel 是一個法律實務管理平台,協助律所管理客戶、事務、檔案、聽證、任務、計費、團隊與律所營運於一個安全系統。
AI 翻譯
The Counsel is a legal practice management platform that helps law firms manage clients, matters, documents, hearings, tasks, billing, teams and firm operations in one secure system.
商業TypeScript · PLpgSQLGitHub @CloudTechAnalytics上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Production Ready! The Counsel is a modern legal practice management platform that helps law firms manage cases, clients, documents, hearings, tasks, billing, and team collaboration from one secure, centralized system.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Enterprise, multi-tenant legal practice management platform.
The Counsel is a production-grade SaaS for law firms — comparable in ambition to Clio, PracticePanther, MyCase and Litify — built on a fully Supabase backend (PostgreSQL + Row Level Security + Storage + Realtime + Edge Functions). There is no custom REST/Express server; every tenant's data is isolated and enforced at the database with RLS.
The product has two completely separate experiences:檢視完整 README ↗Enterprise, multi-tenant legal practice management platform.
The Counsel is a production-grade SaaS for law firms — comparable in ambition to Clio, PracticePanther, MyCase and Litify — built on a fully Supabase backend (PostgreSQL + Row Level Security + Storage + Realtime + Edge Functions). There is no custom REST/Express server; every tenant's data is isolated and enforced at the database with RLS.
The product has two completely separate experiences:
| Who | Purpose | |
|---|---|---|
| CloudTech Platform Console | CloudTech staff (Platform Owner/Admin) | Manage the SaaS: organizations, subscriptions, plans, billing, analytics, audit — never a firm's legal data. |
| Organization Workspace | A law firm's own team | Run the practice: matters, clients, documents, hearings, calendar, tasks, staff. |
Routing switches layout by identity: a Platform Admin only ever sees /platform/*; a firm user only ever sees the workspace. No shared sidebar, no data leakage.
New to this codebase? Read docs/ARCHITECTURE.md first — it covers the repo/branch/environment layout (two separate GitHub repos, two separate Supabase projects for Testing/Production), the security model, and the specific gotcha classes that have bitten this project before. This README is setup instructions; that doc is the map.
Design language: editorial-prestige enterprise — warm ivory surfaces, rich charcoal sidebar, brass primary (#B38A3E), Playfair Display + Inter, generous spacing, soft shadows. Currency is Naira (₦).
Feature-based, strictly typed, reusable by default.
src/
app/ # router, navigation, layout wiring
features/
auth/ # login, session, permission engine
platform/ # CloudTech console (orgs, subscriptions, plans, billing, analytics…)
dashboard/ # firm executive dashboard
clients/ # individual & corporate clients
matters/ # matters + tracking timeline + notes + documents
documents/ # firm-wide document management
hearings/ # court calendar entries
calendar/ # month + agenda views over hearings
tasks/ # assignments, priorities, deadlines
staff/ # lawyers & staff profiles, avatars
notifications/# live activity feed + reminders
administration/ # firm members & roles (Firm Settings)
shared/ # ui primitives, components, hooks, lib, types
supabase/
migrations/ # ordered SQL: schema, RLS, functions, triggers, seed
functions/ # Edge Functions (admin-create-user, hard-delete-organization)
organization_id; RLS enforces isolation via helpers has_permission(org, perm), is_org_member(org), is_org_admin(org), is_platform_admin() (all SECURITY DEFINER).matters.create, documents.upload, staff.manage, …) attached to roles (Managing Partner → Paralegal → HR/Finance/Receptionist). The UI hides what a role can't do; RLS blocks it server-side.documents bucket (tenant-scoped by path) and public avatars bucket, both governed by storage policies.admin-create-user Edge Function (service role), so passwords never touch the browser.hard-delete-organization Edge Function, which purges the login accounts of members who exist only for that firm via the Auth Admin API before removing the organization row — auth.users isn't reachable from a plain SQL function.Platform Console — Dashboard (orgs, MRR/ARR, trials, health, activity) · Organizations (create with plan, suspend/activate, soft-delete → Trash → purge) · Organization Users (read-only directory) · Subscriptions (inline plan/status) · Plans & Pricing (editable + custom tiers) · Billing (revenue by plan, renewals) · Platform Analytics · Audit Logs · plus scaffolds for Support Tickets, System Health, Platform Users, Settings.
Organization Workspace — Dashboard (activity trend, KPIs) · Clients · Matters (auto matter numbers, detail with Tracking timeline, Documents, Notes) · Documents (upload PDF/Office/images, in-app preview) · Hearings · Calendar (month + agenda) · Tasks (assignments, due dates, overdue) · Lawyers & Staff (profiles, bar membership, avatars, assigned matters) · Notifications (live activity + reminders) · Firm Settings (members & roles).
npm install
Create a Supabase project, then copy the environment file and fill in your project values:
cp .env.example .env.local
VITE_SUPABASE_URL=https://<your-project>.supabase.co
VITE_SUPABASE_ANON_KEY=<your-anon-key>
The anon key is safe for the browser — RLS enforces all access.
Run the SQL migrations in supabase/migrations/ in order (Supabase SQL Editor, or supabase db push if linked). They create the schema, RLS policies, functions, triggers, and the documents / avatars storage buckets.
supabase functions deploy admin-create-user
In the Supabase dashboard → Authentication → Users → Add user (your email + password). The first user is auto-promoted to Platform Owner.
npm run dev
Open the printed URL, sign in as the Platform Owner, create an organization + its admin, then explore the firm workspace as that admin.
npm run build && npm run preview
Actively built module by module — each ships with schema, RLS, types, services, hooks, and UI before the next begins. See supabase/migrations/ for the authoritative, ordered database history.