Skip to content

Stonebridge Legal Solutions

Automated Booking & Law Firm Management Platform

Role
Full-Stack Software Engineer, led architecture and build (via SETS Tech)
Dates
Aug 2025 – Sep 2025
Status
Live
  • Next.js
  • NestJS
  • TypeScript
  • PostgreSQL
  • OpenAI API
View live project
Stonebridge Legal Solutions

Summary

Law firm booking platform built with Next.js and NestJS: a UK firm replaced an outdated WordPress site with clear services and fixed fees, 24/7 online consultation booking and an AI chatbot with automatic confirmations.

Two phases

  • Build (Sep 2025, via SETS Tech): a Next.js + NestJS TypeScript monorepo with service and fee information, online consultation booking and an AI chatbot that answers common client questions and hands enquiries over to consultation booking (no legal advice).

The problem

Phone-only booking created missed enquiries, scheduling conflicts and unnecessary administrative work. The firm also needed a professional online presence that communicated legal services and fees clearly enough to build trust before a client called.

Before

  • WordPress site
  • Outdated service list
  • Fees hard to change
  • No booking system
  • Poor search visibility
  • Phone-only enquiries
  • Documents by email

After

  • Services and fixed fees the firm edits itself
  • 24/7 online booking with confirmations
  • WhatsApp from the site
  • AI chatbot for common questions
  • Encrypted client documents
  • Audit-ready records
  • 30+ online and 50+ WhatsApp bookings a month
From an outdated brochure site to the firm's booking and records system.

Stonebridge Legal Solutions had a WordPress site with an outdated service list, fees that were hard to change, no booking system and poor search visibility, so clients phoned to book. The project created a complete digital foundation covering legal-service presentation, fixed-fee information, consultation booking and internal appointment management.

My role

Led the architecture and build via SETS Tech. I designed the architecture and data model, planned the work, built the core of the system myself, added the AI chatbot and guided the in-house and freelance developers working with me.

What I built

  • Owned requirements discovery, system architecture and end-to-end full-stack delivery.
  • Built the lawyer-availability and pre-booking workflow with automated client/lawyer confirmations.
  • Developed the internal dashboard for appointments and client information.
  • Structured service, fee and legal-content pages for clarity, search visibility and ongoing updates.
  • Built the AI chatbot that answers common client questions and hands enquiries over to consultation booking (no legal advice).
  • Built the admin area the firm uses to update services, fixed fees and blog posts itself, with no developer needed.
  • Encrypted client documents at rest and kept bookings and client records in an audit-ready form.

Architecture

The platform has two layers: a public legal-information layer and an operational booking layer. NestJS and TypeScript handle service data, availability, bookings and management workflows. The Next.js front end keeps the client journey simple. It is a TypeScript monorepo: Next.js, NestJS, PostgreSQL, Prisma and shared Zod schemas. - Client documents are encrypted at rest and served only after a permission check. Booking and client records are kept so the firm can show them if audited.

Stonebridge Legal architecture diagram.

  • The Next.js site (services, fixed fees, blog, booking, the chatbot widget and the WhatsApp button) and the admin dashboard for appointments and client records both talk to the NestJS API.
  • The NestJS API uses shared Zod schemas and roles, and stores data in PostgreSQL through Prisma.
  • Alongside the API: encrypted storage for client documents at rest, transactional email for client and lawyer confirmations, and the OpenAI API, used only for the FAQ chatbot, which hands over.
Two layers: public legal information in front, booking and records behind it.

Key decisions and trade-offs

1. A chatbot that hands over, and never advises Chose: an AI chatbot that answers common client questions and hands enquiries over to consultation booking. Not: an open AI assistant that answers any question a client types. Why: legal advice has to come from the firm's lawyers. Downside: some clients ask things the chatbot won't answer, so they still have to book or call.

Booking and chatbot flow diagram. A visitor reads a service and its fixed fee, then takes one of two paths.

  1. Book: the visitor books a consultation, availability is checked, confirmation emails go to the client and the lawyer, and the appointment appears in the firm’s dashboard.
  2. Ask: the visitor asks the chatbot, which answers only from the firm’s own information. If the question needs legal advice or isn’t covered, the chatbot hands over to booking or WhatsApp.
The chatbot answers questions about the firm and hands over; it never gives legal advice.

Results

  • 30+ online bookings a month
  • 50+ bookings a month via WhatsApp

The firm went from phone-only booking to online and WhatsApp booking. Clients can read the services and fixed fees and book a consultation at any time, and the firm manages every appointment in one dashboard. Enquiries also come through WhatsApp from the website. Search visibility improved markedly after launch, and the firm updates its services, fees and blog itself.

Key features

  • Dynamic legal-service catalogue with fixed-fee information.
  • Availability-aware pre-booking flow.
  • Automated booking confirmation emails.
  • Admin dashboard for appointments and client records.
  • Category-based legal-service pages.
  • CMS sections for legal updates and news.
  • An AI chatbot that answers common client questions and hands enquiries over to consultation booking (no legal advice).
  • Encrypted client documents and audit-ready booking and client records.
  • WhatsApp enquiry button on every service page.

Development timeline

  • Aug 2025 — Brief
    Mapped the firm's services, fixed fees and booking needs to replace the outdated WordPress site.
  • Sep 2025 — Build (SETS Tech)
    Next.js + NestJS monorepo, PostgreSQL, Prisma, shared Zod schemas.
  • Sep 2025 — AI chatbot
    Added an AI chatbot that answers common client questions and hands enquiries over to consultation booking.
  • Live
    30+ online and 50+ WhatsApp bookings a month, managed in one dashboard.

Testimonials

I worked with Toukir on the development of our website for Stonebridge Legal Solutions, and the experience was excellent from start to finish. He took the time to understand exactly what our firm needed, translated that into a clean, professional platform, and delivered on time without compromising on quality. His communication throughout the project was clear and responsive — he explained technical decisions in a way that was easy for us to follow, and made adjustments quickly when we asked for changes. I’d happily recommend Toukir to any business looking for a developer who combines strong technical skill with genuine understanding of what a client actually needs.
Sonjoy Kumar RoyClientSolicitor & Barrister