Skip to main content

MR MARVIS

Sr. Full Stack Engineer

MR MARVIS rebuilt its storefront on Next.js. Category browse runs on Algolia, fed from the Sanity collections merchandisers already edit.

MR MARVIS homepage in browser frame
MR MARVIS homepage in browser frame

Problem

Category pages shift whenever someone moves a collection in Sanity. Static Algolia rules did not match how shoppers actually clicked through the site.

Constraints

Sanity is the source of truth for collections. Algolia had to reflect those edits without a nightly rebuild. Rankings needed to follow real browse behavior.

System

Category pages call Algolia with browse-event signals. Sanity pushes index updates on webhook so merchandisers never wait on batch jobs.

Decisions

Event-driven reranking instead of static rules. Webhook sync so index updates land as soon as content changes.

Aftermath

  • Next.js navigation and category redesign shipped
  • Browse events wired into Algolia reranking
  • Sanity webhook pipeline into Algolia
Next.jsAlgoliaSanityTypeScriptReactTailwind CSS

Visit live site

Freelance full stack from Amsterdam. I use Cursor agents and Linear for my own workflow, and I still read every diff before it merges.

Get in touch