Projects

01 — Selected work

Selected projects

Backend systems, mobile clients and the product details that connect them. Expand any project for the engineering behind it.

LeetLab home screen with a practice prompt and weekly activity
App screens

Project 01

LeetLab

Open source

A mobile LeetCode client with a server-side judge.

Browse problems, write JavaScript, Python or Java in the app, and submit against hidden test cases with a per-case verdict.

React NativeExpoSupabaseCodeBox

Overview

Problem
Practising data structures and algorithms usually means sitting at a desktop browser. LeetLab brings the browse, solve and submit loop to a phone.
Who it is for
Students and engineers who want to practise in short sessions without opening a laptop.
What it does
An Expo app with a problem library, an in-app editor and a judge that returns Accepted, Wrong Answer or Error with per-case detail.

What I built

  • Problem library with search, tag filters and explicit loading, error and empty states.
  • Problem detail with statement, examples, hints, constraints and acceptance rate.
  • In-app editor with JavaScript, Python and Java starter templates.
  • Judge result screen with passed count and expected-versus-actual output.
  • Google Sign-In through Supabase, with protected tabs and a persisted session.
  • Profile with an activity heatmap and sign-out.

Engineering

Client

Expo Router app with Zustand stores. Problem data is read from Supabase Postgres.

Judge API

POST /api/submit verifies the bearer JWT, loads hidden test cases with the service-role key, calls a Judge0-compatible CodeBox instance and compares stdout.

Data access

Supabase row-level security protects user data, and column-level grants keep test_cases out of every client read.

Difficulty

Difficulty is derived from acceptance rate at read time (60% or more is Easy, 40% or more is Medium, otherwise Hard) instead of stored as a column.

Delivery

EAS Build with continuous native generation, so there are no checked-in ios/ or android/ directories.

Challenges & tradeoffs

  • Keeping hidden tests hidden

    The judge needs the test cases; the client must never see them. The submission route is the only reader and uses the service role, while the table is not readable from the app.

  • Normalising judge output

    CodeBox responses include compile and runtime failures. The API maps them into one verdict shape so the result screen can render per-case output consistently.

  • One session across app and API

    Tabs and the submit route both depend on the Supabase session, while the API still has to be reachable from a physical device during development.

Stack

App
React NativeExpoExpo RouterTypeScriptZustand
Backend
Supabase AuthPostgresRow-level securityExpo server route
Judge
CodeBox (Judge0-compatible)
Delivery
EAS Build

System flow

HOD voice

ElevenLabs real-time agent

Calendar tool

Google Calendar iCal feed

Local state

expo-sqlite / localStorage

Student view

Read-only schedule

The agent checks the live calendar, proposes free slots and saves confirmed meetings as local tasks.

Project 02

Jarvis — Meeting Scheduler

Open source

A voice-first meeting scheduler for a university department.

Talk to an ElevenLabs agent to review the department head's calendar, find free slots and schedule meetings. Students get a read-only daily view.

React NativeExpoElevenLabsGoogle Calendar

Overview

Problem
Scheduling around a department head's day means checking a calendar, finding gaps and confirming details. Jarvis turns that into a conversation.
Who it is for
The head of department, who talks to the assistant, and students, who need a read-only view of availability.
What it does
A mobile app with a real-time voice session, a live calendar timeline and role-based screens for the two audiences.

What I built

  • Real-time voice session with a live transcript and listening or speaking state.
  • Calendar timeline built from the department head's public iCal feed, including recurring events.
  • Automatic free-slot gaps across the working day.
  • Calendar tool responses and spoken scheduling phrases saved as local tasks.
  • Role-based UI: the HOD gets the assistant, students get the schedule portal.
  • Local authentication and persistence with SQLite on native and localStorage on web.
  • Optional Express scraper with cheerio and a Playwright fallback for JavaScript-heavy pages.

Engineering

Voice

The ElevenLabs React Native SDK drives the conversation. Tool responses and session state are handled in a dedicated conversation hook.

Calendar

The public iCal feed is parsed into occupied events and free slots, with RRULE and EXDATE recurrence handled in the local service.

Persistence

expo-sqlite on native and localStorage on web. Users, tasks and parsed events stay on the device.

Interface

React Native Skia and Reanimated power the animated orb and the speaking or listening states.

Service

A separate Express service exposes /health and /scrape, using axios and cheerio with a Playwright fallback.

Delivery

EAS Build profiles for development, preview and production, plus a config plugin that patches an Android backgrounding crash on React Native 0.83.

Challenges & tradeoffs

  • Real-time state

    Transcript, audio state and calendar tool calls have to stay in sync without blocking the interface or dropping the session.

  • Recurring schedules

    Recurring calendar events are expanded and subtracted from working hours so the free slots shown to students are accurate.

  • Native constraints

    WebRTC, Skia and SQLite require a development build, so Expo Go is not an option and native changes need a fresh prebuild.

Stack

App
React NativeExpoExpo RouterTypeScriptSkiaReanimated
Voice
ElevenLabs
Calendar and data
Google Calendar iCalexpo-sqlite
Service
ExpressaxioscheerioPlaywright

Scope note: Authentication is local and demo-oriented; the HOD account is seeded on the device.

AI Study Buddy library screen with a study set and a new collection action
App screens

Project 03

AI Study Buddy

Open source

A study assistant grounded in your own PDFs.

Upload a PDF, get a summary and a flashcard deck, then ask questions that are answered from your own material.

React NativeSupabaseClaudeExpress

Overview

Problem
Study material is scattered across PDFs, and a general chatbot does not know what is inside them.
Who it is for
Students revising from lecture notes, papers or textbooks.
What it does
A mobile library of study sets with summaries, flashcard review and a chat that stays grounded in the processed sources.

What I built

  • Email and password authentication with a persisted session and profile.
  • Study-set library with create, open and delete; deleting a set also removes its stored PDFs.
  • Private PDF upload with server-side text extraction and chunking.
  • Markdown study summary per set, with the latest summary shown.
  • Flashcard decks of 6, 12 or 20 cards with a flip-card review flow.
  • Chat grounded in processed sources, plus retry for queued or failed processing.

Engineering

Ingestion

The app creates a pending source, uploads the PDF to a private bucket, then calls the server to extract and chunk it at 2,000 characters with 200 characters of overlap.

Claiming work

The server atomically claims only pending or failed sources. A source that is already processing or ready returns 409, so duplicate work is avoided.

AI

Express and the Vercel AI SDK call Claude. Summaries are stored with the model id and prompt version, and flashcard output is validated with Zod.

Retrieval

Chat ranks keyword matches across source chunks, sends the top chunks with recent messages and stores source ids on the assistant response. There are no embeddings or vector search.

Security

Row-level security scopes every table to the user. The service-role key and Anthropic key stay on the server, and storage paths are scoped by user id.

Client

Expo Router with TanStack Query. The latest summary and decks are read per study set.

Challenges & tradeoffs

  • Long-running ingestion

    PDF extraction can fail or be retried. An atomic claim plus explicit status transitions keeps the pipeline idempotent.

  • Grounded generation

    The model has to answer from the material rather than general knowledge, so the prompt is built from retrieved chunks and the source ids are persisted with the reply.

  • Structured output

    Flashcards need a stable shape. Zod validation and a deck rollback on card insert failure keep the database consistent.

Stack

App
React NativeExpoExpo RouterTypeScriptTanStack Query
Data
Supabase PostgresRow-level securitySupabase Storage
Server
ExpressVercel AI SDKAnthropic ClaudeZodpdf-parse

Scope note: Retrieval is keyword-based rather than embedding-based; vector search is a future improvement.

debt-guardian.vercel.app
DebtGuardian landing page with the headline Trapped in Debt? We'll Fight for You Legally.

Project 04

DebtGuardian

Live

A legal-tech platform for debt settlement and consultation.

A marketing site and authenticated client and admin app for debt consultation, settlement plans and Razorpay subscriptions.

Next.jsReactTypeScriptRazorpay

Overview

Problem
People facing debt distress need a clear path to legal help without navigating an opaque process.
Who it is for
Clients looking for consultation and settlement help, and the firm's admins managing requests.
What it does
A conversion-focused landing page plus a client dashboard, an admin panel and subscription checkout.

What I built

  • Landing page with services, process, pricing, testimonials and consultation calls to action.
  • Login and signup with a client dashboard for requests, plan status and documents.
  • Admin panel for leads, requests and users.
  • Razorpay subscription checkout through a server-side order endpoint.
  • WhatsApp and call actions for direct contact.

Engineering

Framework

Next.js 16 App Router, React 19, TypeScript and Tailwind CSS v4.

Interface

Composable shadcn/ui and Base UI primitives, with Framer Motion and react-intersection-observer for section reveals.

Payments

POST /api/razorpay/order creates the order on the server; the client completes checkout with Razorpay.

Data

The current demo uses an in-memory mock data layer. Replacing it with a database is the next production step.

Deployment

Vercel.

Challenges & tradeoffs

  • Payment boundaries

    Order creation stays on the server so keys are not exposed; the client only receives the checkout payload.

  • Two audiences

    The same app serves a public marketing funnel and authenticated client and admin workflows, so routing and layouts stay separate.

  • Honest prototype scope

    The mock data layer keeps the demo runnable without a database. It is explicitly a boundary to replace before production use.

Stack

Web
Next.jsReactTypeScriptTailwind CSS
Interface
shadcn/uiBase UIFramer Motion
Payments
Razorpay
Hosting
Vercel