The Architect's Journey: Milestone & Perk Tracker

Secure, Local-First Fintech Android App + Marketing Website for Credit Card Optimization

Deliverables / Skills Utilized

React Native
Expo
SQLite
Cursor
Claude Code
Lovable
React 19
Vite
Three.js
Framer Motion

๐Ÿ” The Problem

"Perk Blindness" and "Optimization Fatigue" plague the Indian credit card ecosystem.

With 12+ premium cards (Infinia, Magnus, Reserve, etc.) each offering different reward structures, milestone bonuses, and merchant-specific accelerators, it's impossible to know which card to swipe for any given transaction.

The result: thousands of rupees in unrealized rewards, missed milestone bonuses, and decision fatigue at checkout.

๐Ÿ’ก The Solution

A fully local, privacy-first Android app that:

  • Tracks spend progress toward 1L/2L/5L milestone bonuses
  • Recommends the optimal card for any transaction in under 200ms
  • Stores everything on-device with zero cloud dependency

๐Ÿ› ๏ธ The 6-Phase Build Journey

๐ŸŽจ Phase 1: The "Vibe" (Lovable)

Goal: Rapidly prototype UI/UX and visual language

  • Fed Lovable a high-level vision of a premium Fintech dashboard
  • Focused on progress bars for milestone tracking, card-stack wallet views
  • Built a "Top Pick" transaction recommender component

Outcome: High-fidelity React frontend matching top-tier Indian banking apps (CRED, Fold aesthetic)

๐Ÿ“ฆ Phase 2: The Handover (GitHub)

Goal: Professional development environment setup

  • Exported raw React code from Lovable to private GitHub repository
  • Converted "Vibe" prototype into a local codebase
  • Enabled transition to heavy-duty engineering

๐Ÿง  Phase 3: The Brain & Security (Cursor)

Goal: Implement logic, database, and encryption

Database Engineering:

  • Built Expo-SQLite foundation with lib/db.ts
  • Created schema for card_offers and user_spend tables
  • Implemented local seeding for 12+ premium Indian cards

The Search Algorithm (lib/search.ts):

  • Natural language query handling
  • The Zomato Case: "Zomato" or "Swiggy" correctly weights cards like HDFC Infinia or Axis Airtel based on ERR
  • Custom Effective Reward Rate (ERR) algorithm

Privacy Architecture:

  • Wired SQLiteProvider into root _layout.tsx
  • Zero-cloud dependencyโ€”all data stays on device

๐ŸŽ›๏ธ Phase 4: The Orchestration (Warp + Claude Code)

Goal: Managing technical debt and large-scale refactors

  • Warp Terminal: Command center with AI-assisted build commands
  • Claude Code Integration: When Cursor hit limits, switched to Claude Code
    • Refactored "spaghetti code" from Lovable export into modular components
    • Automated terminal-based Android build process (eas build)

๐Ÿš€ Phase 5: The Deployment (Android APK)

Goal: Complete Plan โ†’ Build โ†’ Deploy lifecycle

  • Delivered fully functional, local-first Android APK
  • Sub-200ms transaction recommendations
  • Zero privacy compromise

๐ŸŒ Phase 6: The Marketing Website (React 19 + Three.js)

Goal: Build a premium marketing site to showcase the app

  • React 19 + Vite: Modern SPA with blazing-fast HMR and build times
  • Three.js 3D Card Carousel: Interactive rotating credit card models as the hero section
  • Framer Motion: Scroll-triggered animations, page transitions, and micro-interactions
  • Lenis Smooth Scroll: Buttery smooth scrolling experience across all sections
  • Waitlist Form: Email capture with validation for early access signups
  • Responsive Design: Pixel-perfect across mobile, tablet, and desktop

Outcome: A visually striking landing page that matches the premium feel of the app itselfโ€”deployed on Vercel at optimizer-website-seven.vercel.app

Card Optimizer โ€” Hero section with 3D card visuals and waitlist signup

Card Optimizer โ€” How it Works: visual flow from spend intent to route decision

๐Ÿ“Š Technical Architecture

LayerTechnology
๐Ÿ“ฑ Mobile AppReact Native / Expo
๐Ÿ’พ StorageSQLite (Local-First)
๐Ÿ” SecuritySQLCipher-ready, Biometric Auth hooks
โšก LogicCustom ERR Algorithm
๐ŸŒ Marketing WebsiteReact 19, Vite, Three.js, Framer Motion, Lenis
๐Ÿ”ง Dev PipelineLovable โ†’ GitHub โ†’ Cursor โ†’ Warp โ†’ Claude Code

๐ŸŽฏ Key Features

  • ๐Ÿ“ˆ Milestone Tracking: Visual progress toward 1L/2L/5L spend bonuses
  • ๐Ÿ” Smart Recommendations: "Which card for Zomato?" โ†’ Instant answer
  • ๐Ÿ’ณ Card Wallet View: Premium card-stack UI for 12+ cards
  • ๐Ÿ“ด Offline-First: Works without internet, no data leaves device
  • ๐Ÿ‡ฎ๐Ÿ‡ณ Indian Card Database: Infinia, Magnus, Reserve, Airtel, and more

๐ŸŽฏ Why This Matters: Vibe Coding โ†’ Systems Engineering

This project demonstrates the "Vibe Coding" to "Systems PM" pipeline:

  1. ๐Ÿค– AI-Native Development: Leveraging Lovable, Cursor, and Claude Code as force multipliers
  2. ๐Ÿ—๏ธ Technical Architecture: Designing local-first data systems with encryption-ready foundations
  3. ๐Ÿ”„ End-to-End Ownership: From UI prototyping to database schema to Android deployment
  4. ๐Ÿ”’ Privacy Engineering: Building Fintech without compromising user data

"By utilizing AI-native tools, I managed the end-to-end lifecycle of a secure Fintech appโ€”from UI prototyping to local database architecture and final Android deployment."

๐Ÿ”ง Stack

  • React Native / Expo: Cross-platform mobile framework
  • SQLite: Local-first persistent storage
  • Lovable: AI-powered UI prototyping
  • Cursor: AI-assisted code development
  • Claude Code: Large-scale refactoring and automation
  • Warp Terminal: Modern terminal for build orchestration