Project · 2024
Where clients, lawyers & admins meet.
A real-time legal consultation platform I built and shipped solo, from data model to live deployment. Encrypted messaging over Socket.IO, role-based access for three user types, and GraphQL resolvers tuned for fast search.

What it is
Legal One is a real-time legal consultation platform that connects three kinds of users: clients looking for legal help, lawyers offering consultations, and administrators running the platform. I designed, built, and deployed it end to end as a solo project, and it is live in production.
Engineering decisions
Conversations between clients and lawyers happen over encrypted real-time messaging built on Socket.IO. Access control is role-based: clients, lawyers, and admins each see only the views and actions their role allows.
The data layer is MongoDB through Prisma, exposed to the Next.js frontend through a GraphQL API on Apollo. Search-heavy resolvers were tuned specifically for fast lookups, so finding a lawyer or a past consultation stays quick as the dataset grows.
What I owned
Everything: data modeling, the GraphQL schema and resolvers, authentication and role-based authorization, the real-time messaging layer, the frontend, and the production deployment.
More projects
- Local RAG App: An offline retrieval-augmented generation (RAG) document chatbot built by Om Patel with Python, FastAPI, Ollama, and ChromaDB: local LLM answers with source citations and no data leaving the machine.
- SW Habitation: The production marketing site and blog platform Om Patel built for the SW Habitation development studio with Next.js, TypeScript, and Tailwind CSS, with a scalable content system and performance and SEO work.
- Drug Repurposing: Machine learning research by Om Patel ranking drug and disease associations across large biomedical datasets: feature pipelines, gradient-boosted rankers with XGBoost, CatBoost, and LightGBM, PyTorch networks, and Top-K validation.