CRED
Three years at CRED: the app build, 95% as a webview, a merchant portal on micro-frontends, and the libraries behind both.
- Role
- SDE 2, Frontend
- When
- 2022 – 2025
- Company
- cred.club
- Roles
- Frontend, Product, Architecture
- Built with
- Next.js, React, Module Federation, Sendbird, GSAP, TypeScript
The problem
Ship a new consumer app at native quality on a web cadence, then give every merchant line of business one portal instead of a pile of third-party tools.
The app inside CRED had to feel native while iterating weekly. Native release cycles would have made that impossible, so the product had to live almost entirely on the web with a thin native shell around it.
On the other side of the business, merchant teams were juggling separate tools for separate lines of business. Each one had its own login, its own data model and its own way of being wrong.
- Build it as a 95% webview app
- Next.js inside a native shell with a purpose-built bridge, so ten-plus iterations shipped without waiting on app store releases.
- Config-driven flows
- Screens described in JSON and rendered by an internal component library, so product changes became data changes.
- Micro-frontends for merchants
- One Merchant Portal built with module federation so each line of business ships independently inside a shared shell.
How it works
The native bridge is a typed, promise-based RPC over postMessage: request ids, timeouts and versioning so web and native could evolve on different schedules. The internal UI library gave the webview the same component vocabulary as the native app.
On the marketing side I started something new for CRED: Apple-style product websites, slick and animation-heavy, where the product is told as one long scroll. That was my initiative. I built CRED Tap first, then Pay via UPI.
Then I turned what those two pages taught me into a framework: PNG sequences, scroll-scrubbed video and animation utilities, packaged so anyone could build a launch page the same way. After that, the team built their product pages on top of it. A JSON-schema library did the same for internal tools.
- Native shell
- Auth, payments, push and deep links stay native.
- Bridge RPC
- Typed postMessage calls with ids, timeouts and versioning.
- Webview app
- Next.js screens, preloaded shells and skeletons.
- Config-driven flows
- JSON-described journeys rendered by the UI library.
- Merchant portal
- Module-federated remotes inside one shell.
- Product-website framework
- PNG sequences, video scrubbing and scene utilities.
What shipped
Merchant PortalPlatformOne portal for every line of business, built as micro-frontends with module federation. Merchant score up 21%.
CRED TapProductThe first of CRED's Apple-style product websites, and my initiative: tap to pay, told as one long scroll.


Pay via UPIProductThe second, the UPI launch page, built the same way.






What changed
The webview approach held up across ten-plus iterations. The merchant portal replaced third-party tooling and measurably improved merchant outcomes. The product-website framework I started became the default way CRED built launch pages.
What I took from it
- A bridge is a product. Version it, document it, and give it a test suite.
- Module federation pays off when teams are independent; it costs when they are not.
- Working on things like CRED Only Fridays taught me how much engagement depends on engineering.