Case studies
Grow

Rivlet Directory

A Bubble directory migration built around search and existing landing pages

  • Grow
  • Specialist supplier discovery
  • Bubble

9days

Delivery

420ms

77% lower

Search response, p95

2,000/2,000

Published URL coverage

24/24

Draft-content checks

Illustrative before/after figures.

The product

Visitors searched by category and location, compared profiles and contacted providers. Rivlet promoted individual listings through campaigns and partner links, so those pages mattered as much as the directory homepage. The editor also maintained 200 draft listings that could not appear publicly. The product had already found a useful niche; the business wanted a more predictable search experience and a codebase its incoming engineer could maintain without redesigning the service.

The challenge

The starting point combined expensive queries with inconsistent pagination. A visitor could encounter the same supplier on consecutive pages, while a change to the rebuild's routing risked breaking a campaign destination. The team examined those as separate issues. Query fixes inside Bubble remained the initial alternative, but Rivlet also needed ownership of the release process. A compact full migration gave one engineer control of the public journey, publishing rules and enquiry handling.

The directory owner came with a practical complaint: visitors could open a campaign link, wait for results and still fail to find the supplier they had just seen advertised. The editor also needed several screens to correct one profile. We narrowed the job to eight filters, existing listing URLs and a saved enquiry. That made success observable without promising more leads: the right supplier should appear, a draft should stay private and an enquiry should survive an email-provider delay.

How we tackled it

  1. 01

    Map discovery. We captured the eight supported filter combinations, existing slugs and publication rules, then defined expected results for representative searches.

  2. 02

    Rebuild search. Filtering and pagination moved to the server. Indexed queries returned only the fields the page used, with a stable tie-breaker between result pages.

  3. 03

    Preserve entry points. Each old URL received a retained destination or one explicit permanent redirect. Draft visibility was enforced in server queries.

  4. 04

    Protect enquiries. A stable submission identifier linked retries to the original record, while email delivery followed the saved enquiry.

What we built

Next.js, TypeScript and Tailwind reproduced the public interface and editor workspace. Postgres with Drizzle stored listings, categories and enquiries; managed authentication protected publishing. A published-content query boundary kept drafts out of public responses. The team chose database-backed filtering over a separate search engine because the catalogue and query patterns did not justify another service. That decision reduced the number of systems the receiving engineer needed to operate.

Within the story, a rehearsal copied source identifiers and compared category relationships before the final switch. Publishing paused for the final content delta, followed by a complete route crawl and an enquiry walkthrough. The rollback procedure captured new enquiries before reopening the previous application. The editor accepted representative records, and the receiving engineer deployed a small staging change. The comparison below holds the catalogue, query mix and concurrent sessions constant; it does not describe a search-ranking experiment.

Before & after — illustrative results

The results connect speed with correctness. The search comparison uses 25 concurrent sessions, a 15-minute steady run after warm-up and the same 2,000-listing catalogue. Expected result IDs and error responses are checked alongside latency. The 77% latency reduction is calculated from the illustrative 1,800 ms and 420 ms values. URL continuity is a routing result, not a claim of improved Google rankings or higher enquiry conversion.

Illustrative before/after values. No tests or client measurements were performed for this story. The comparison conditions describe how an equivalent real migration would be evaluated; they are not a test report.

MetricBeforeAfterComparison conditions
Search response, p951,800 ms420 ms — 77% lowerSame catalogue and query mix; 25 sessions, 15 minutes; verify result identity and errors.
Published URL coverage2,000 source URLs2,000/2,000 mappedCrawl all old URLs; verify the intended page or one permanent redirect.
Draft-content checks200 drafts in source inventory24/24 access checks passPublic search, direct listing requests and editor actions; no general security claim.
Listing-page LCP, lab p754.8 s1.9 s — 2.5× fasterSame 20 listing URLs; 40 cold-cache loads per URL; fixed mobile profile and network. Synthetic LCP, not real-user Core Web Vitals.
Edit and publish a supplier profile, median7 min2.5 minSame editor and ten scripted title/category/photo updates after familiarisation; verify published output.

The outcome

Rivlet ended the story with a clearer path from campaign link to provider enquiry and an engineer who could inspect the queries behind it. The handover included the URL manifest, editor guide, query workload and restore instructions. The business kept its catalogue and working habits while gaining a defined release process. The lesson for a real directory migration is that search speed, relevant results and link continuity need to be accepted together.

Why these improvements mattered

A constrained editor removed repeated navigation and prevented incomplete profiles from being published. The frontend served only the content required by each route, while images used defined sizes. These changes explain the two different improvements: lighter rendering for visitors and fewer steps for the editor. Neither result depends on assuming that custom code automatically makes every page faster.

Scope & timeline

Scope

Grow covered category browsing, filtered search, listing pages, editor publishing and one transactional email integration. The delivery included a URL inventory, query tests, data mapping and a deployment runbook. Personalised ranking, marketplace payments and provider-managed accounts stayed outside scope. That boundary mattered: Rivlet was buying dependable supplier discovery, not a new marketplace. The agreed acceptance path followed the visitor from a known landing URL to one saved enquiry.

Delivery timeline

Delivery schedule: 9 working days. Team: One senior full-stack engineer, shared QA and one available content owner. The clock starts after scope approval, usable source data, test access and agreed UI are available. Waiting for external approvals is excluded. This is a bounded example, not a turnaround guarantee.

Days 1–2: agree filters, routes and content mapping.

Days 3–6: rebuild indexed search, listing templates and the editor.

Days 7–8: reconcile the catalogue and rehearse public/private journeys.

Day 9: approve the final delta, cut over and hand over.

FAQ

Can a Bubble directory move to Next.js without changing every URL?
Existing routes can be preserved or mapped to explicit redirects. The migration needs a complete URL inventory and destination checks.
Does every directory need an external search engine?
No. Catalogue size, filters and ranking requirements should determine whether indexed database queries are sufficient.

Discuss a similar migration

If visitors struggle to find the right listing, bring three slow searches and the URLs your campaigns already use. Bubble to Code can assess whether query optimisation, a separate search service or a focused Grow migration fits your directory. Start with the journey that generates enquiries, then agree the scope and acceptance checks.