A practice-management platform for small law firms: matters, clients, follow-ups and time in one place
5
Stages on the matters board, from intake to closed, moved by drag and drop
9
Database tables: firms, users, clients, matters, tasks, notes, time entries, activity and sessions
9
Automated tests covering sign-in, workspace isolation, the matter lifecycle and cross-site request blocking

The problem
Small law firms usually run their files from a mix of spreadsheets, shared folders, email and memory. Deadlines live in someone's head, time is written down late or not at all, and nobody can say at a glance which matters are stuck.
Large practice-management suites cost more and do more than a firm of two to twenty people needs, so the realistic alternative is the spreadsheet.

The solution
Casefile gives each firm one calm workspace. Matters move across a board by stage, every matter carries its client, fee earner, estimated fee, follow-ups, time entries and file notes, and a dashboard shows open matters, unbilled time, the enquiry pipeline and what is overdue.
The product has its own public website, so a prospect can read what it does, create an account, or open a fully populated sample firm in one click.

How it is built
Model, view, controller
models.js owns the schema and queries, controllers.js validates input and shapes responses, server.js declares routes, and the browser app calls a JSON API. Each layer can be tested without the others.
Data model
firms, users, clients, matters, tasks, notes, time_entries and activity, plus a sessions table. Every business record carries a firm_id and every query filters on it, so one firm can never read another's data. Matter references (CF-2051 and so on) are generated per firm.
Accounts and security
Passwords are hashed with scrypt and a per-user salt. Sessions use a random token in an HttpOnly, SameSite cookie, stored only as a SHA-256 hash and expiring after 14 days. Writes from other origins are rejected, sign-in and registration are rate limited, and responses carry strict security headers.
Tenancy
Registering creates a new firm and makes the person its owner. A new firm can start empty or with a sample caseload, and can restore the sample data from the user menu.
Technologies
Inside the working demo
- A board and a list view of every matter, filtered by practice area and fee earner.
- A matter panel with follow-ups, time recording at the firm's hourly rate, file notes and an activity trail.
- A client view with each client's matters beside them.
- A dashboard with animated live figures, matters by stage and fees by practice area.
- Real registration, sign-in and sign-out, with an isolated workspace for every firm.
- A public website with features, pricing and security pages, in front of the application.
Casefile is a fictional brand built by Praxline to show what a working product in this category looks like. Every person, firm, club, lot and figure in it is sample data, the demo is not indexed by search engines, and nothing on it is a real transaction.
More from the portfolio
Need a practice-management or CRM system for your business?
Start with a 25-minute call: what you do, who uses it, and what it needs to handle. You get a written scope and a fixed price before any work starts.

