Hardik Jain

Senior Software Engineer, Mobile & Distributed Systems

Work Experience

FitPage

Dec 2023 – Present
  • Flutter
  • Dart
  • Distributed Systems
  • Nest.js
  • PostgreSQL
  • Redis
  • Swift
  • Kotlin
  • LLM / RAG
Senior Software Engineer (promoted Jun 2026)May 2024 – Present
  • Lead a 4-engineer team on India Running (Flutter, 11 verticals, 141 screens, 0 to 30,000+ MAU). I set the technical roadmap, write and assign the specs, and review every merge.
  • Sole owner of an offline-first, peer-to-peer check-in system that runs at live races. Hybrid logical clocks, version vectors and a deterministic reducer get around 20 devices to identical state with no central server, verified against a reference oracle under simulated packet loss, reordering, restarts and partitions.
  • Built its reliability layer over raw UDP, then found and fixed two bugs that only surfaced in the field: frontier-gap starvation, where one dead device could permanently starve a healthy peer's sync budget, and clock poisoning, where a single wrong-clock phone would win every future last-write-wins comparison.
  • Architected the real-time bib allocation engine for high-concurrency registration, using distributed locks and idempotent APIs around a cached next-available-bib pointer. Later diagnosed a silent data-loss incident in that same pipeline, where a double-triggered batch job left 343 of 2,347 runners without a bib: a missing idempotency check plus a swallowed range-exhaustion error.
  • Root-caused a 6,000+ crash-report incident. Earlier code had collapsed 'no session' and 'session temporarily unreadable because iOS locked the keychain' into one state; separating them turned a false logout into a retry ladder.
  • Shipped RunBuddy, an LLM running assistant with retrieval over event context: +51% weekly active users, +106% average time per user, +133% session duration.
  • Led the full app revamp, a from-scratch rewrite of discovery, registration, bookings, profiles and organiser surfaces, with an auth-version gate that migrated every stale session and produced zero support escalations.
  • Built the host side of the marketplace ('Spaces') from scratch, covering clubs, events, ticketing, add-ons, staff roles, guest lists and QR check-in, which turned a one-sided consumer app into a two-sided platform.
  • De-risked automatic race-day GPS tracking in a prototype harness: a pre-warm foreground service on Android, and on iOS five independent wake channels rather than trying to keep a process alive for 24 hours.
  • Designed a 698-event analytics taxonomy across every vertical and built the crash and performance stack around it. Also built the team's internal tooling, including an in-app network inspector with cURL export and Shorebird OTA, which cut hotfix turnaround from store review to minutes.
App Developer InternDec 2023 – May 2024
  • Built 'Engage', a social feature end to end, establishing the community layer for the FitPage ecosystem.
  • Built the complete backend for the Bharti activity-tracking app, and bridged Flutter to native iOS and Android functionality.

Projects

adaptive_palette (Flutter package)LiveCode

Nov 2025 – Mar 2026
  • Real-time dominant-colour extraction and animated fluid backgrounds for dynamic theming, using weighted k-means clustering, perceptual colour scoring, layered image shaders and an LRU cache. v3.1.0, 150 pub points, all 6 platforms.

Flutter · Dart · material_color_utilities

flowy (mental-health journaling app)

Nov 2025 – Dec 2025
  • Sole backend engineer for a journaling app live on the App Store: Nest.js and Postgres behind Supabase auth, SSE token streaming for chat, and a BullMQ worker running scheduled insight generation.
  • Emotion scores, feelings and insights come back as Zod-validated structured output rather than parsed prose, and both the speech-to-text layer (AssemblyAI or Deepgram) and the model itself sit behind one swappable interface.
  • Subscription webhooks are verified by shared secret and made idempotent on transaction ID, so a retried delivery cannot double-credit an account, with Sentry tracing and profiling, Redis-backed caching and per-route rate limiting behind it.

Nest.js · PostgreSQL · Supabase · Vercel AI SDK · AssemblyAI / Deepgram · BullMQ

Self-hosted music streaming platform

Mar 2026 – Apr 2026
  • Spotify/YouTube to MP3 pipeline via spotdl orchestration, with HTTP range-request streaming so seeking and resume work without buffering whole files. Flutter client, self-hosted on a Raspberry Pi 5 behind a Cloudflare Tunnel.

Nest.js · Prisma · SQLite · Bull + Redis · Socket.IO · Flutter · Raspberry Pi

swiftswipe (credit-card rewards optimizer)

Dec 2024 – Apr 2025
  • Built solo end to end (Flutter client, Nest.js backend, RAG over card reward terms) to answer one question at checkout: which card earns most here? I killed it when merchant-to-MCC mapping stayed too ambiguous to trust. The failure mode is a confidently wrong recommendation that quietly costs the user money.

Flutter · Nest.js · RAG · Vector DBs

Technical Skills

  • Mobile: Flutter (advanced), Dart, BLoC, Clean Architecture, ObjectBox, Shorebird OTA, Swift / iOS native (MethodChannel, CoreSpotlight), Kotlin / Android native
  • Distributed Systems: Offline-first sync, Peer-to-peer UDP mesh, Hybrid logical clocks, Version vectors, Anti-entropy / op-log protocols, Exactly-once delivery
  • Backend: Nest.js, Node.js, PostgreSQL, Prisma, Redis, Bull, Distributed locks, Idempotent APIs
  • AI & Observability: LLM integration, RAG, pgvector, Agentic developer tooling, Firebase Analytics & Performance, Crashlytics, Sentry
  • Security & Tooling: JWE, OAuth 1.0a / 2.0, Root and anti-instrumentation detection, Docker, AWS, Cloudflare

Education

BTech in IT – KJ Somaiya College of Engineering

2020 – 2024
  • CGPA: 8.9

Publications