# One search for 10,000 restaurants

> For MacroMapper, Australia’s largest search engine for restaurant nutrition, in 2024. A startup’s founder had gathered the calories and nutrients of thousands of restaurant meals in spreadsheets. We designed and built the search and the map that show diners the meals near them, and then the paid tier the business earns from.

Source: https://hugoferris.com/case-studies/macromapper

For MacroMapper, Australia’s largest search engine for restaurant nutrition, in 2024.

Benjamin Woodward knew what was in 5,000 restaurant meals, and all of it sat in spreadsheets. We turned them into MacroMapper, where diners find the meals nearby that fit their diet. He adds a new chain by pasting rows, and a paid plan earns the business its money.

![A diner in Melbourne slides Calories down to 400; the foods nearby that fit take the list’s place, and Closest locations lights up that restaurant’s places on the map](https://hugoferris.com/loops/macromapper-hero-960.a14be55a.avif)

MacroMapper’s search, recorded March 2025. Live at [www.macromapper.co](https://www.macromapper.co/).

The outcome:

- about 1,000 hours of data entry saved
- 5,000+ menu items listed
- 60+ chains across Australia

> Hugo brought this idea to life, and I couldn’t believe how good it looked in so little time. The site is so clean, and its search is lightning fast. He has a great eye for detail, and he protected my data in ways I hadn’t thought of. He is the best developer I have ever seen at work.
>
> — [Benjamin Woodward on LinkedIn](https://www.linkedin.com/in/benjwoodward), Founder of MacroMapper

## Before

Benjamin Woodward analyzes restaurant food. Companies bring him their menus, and he works out the calories and nutrients in each dish. By May 2024 he had the figures for 5,000 menu items from 60 restaurant chains across Australia.

All of it sat in spreadsheets, where nobody but him could use it. Someone counting calories or avoiding nuts had to look up each chain on its own, usually in a table made for printing. They still couldn’t ask the one thing they wanted to know: what can I eat near me?

His answer was MacroMapper, named after macronutrients, the protein, carbohydrates and fat in food, and he wanted it live within weeks. Between the spreadsheets and a product stood everything else: a design a diner could use without thinking, and the engineering behind it. He hadn’t settled how a database should hold his data. And since the figures were his business, the site had to show them to diners without handing the whole collection to anyone who wanted a copy.

## In its place

A diner opens MacroMapper on a phone, lets it know where they are and sees the meals nearby that fit their diet.

### Searching by nutrition

A diner sets what they want, such as under 400 calories, over 30 grams of protein or gluten free. Every item that fits, from the restaurants near them, is listed with its nutrition.

![With under 400 calories set, a diner slides Protein up to 30 grams; three foods nearby fit both, and the first one’s nutrition runs on past its protein, carbs and fat to its sugars, fiber and sodium](https://hugoferris.com/loops/macromapper-nutrition-960.b58e7c6c.avif)

### Every restaurant on one map

Every listed restaurant in the country is a point on one map. A diner zooms from their own street out to all of Australia, and a tap on a point opens that restaurant.

![The map zooms out from the restaurants around a diner in Melbourne to Victoria and then all of Australia, every listed restaurant a green point](https://hugoferris.com/loops/macromapper-map-960.79f5a90b.avif)

### The nearest first

Restaurants are listed from the nearest outward, with a line at each kilometer and the exact distance on every card. One tap opens directions in Google Maps.

![The list of restaurants, nearest first with each one’s distance, scrolls past the line marking more than 1 km away, then the line at 2 km](https://hugoferris.com/loops/macromapper-nearest-960.cd19b67c.avif)

### A restaurant’s whole menu

Each restaurant has a page with its hours and its whole menu. Every item shows its price, its nutrition and what it is free of, such as dairy or nuts.

![A restaurant’s page shows its address, today’s hours and what its menu is free of, then its menu section by section, the bar of categories marking the one in view](https://hugoferris.com/loops/macromapper-menu-960.76d0f1b7.avif)

### Accounts and Premium

Anyone can search, and every item’s calories are free to see. A diner who signs up and pays for Premium, by the month or the year, also sees each item’s protein, carbs and fat and can filter by allergy.

![A diner without Premium sees each food’s price and calories; they tap the locked Protein filter, choose the yearly plan and upgrade, and every food’s full nutrition shows as Protein opens](https://hugoferris.com/loops/macromapper-premium-960.c46445d4.avif)

## How we did it

A diner standing outside a restaurant has one question and little patience. Our designer and I designed MacroMapper to answer in two steps: say where you are, then say what you want. The nearest restaurants come first, with a line at each kilometer and the distance on every card, so nobody has to read a map to choose.

He had been stuck on the database. The usual design would have broken his data into many separate pieces, and he would have needed a developer every time he listed a new chain. We kept it in the shape of his spreadsheets, so a chain’s menu and its locations go in by pasting their rows. All 15,000 rows went in that way. Entered through a form at four minutes each, they would have taken about 1,000 hours.

He had asked that results stay close to the diner, so that nobody in Perth is shown a restaurant in Sydney. We built that into the way the site works: it only ever loads the menus of restaurants within a few kilometers of a visitor. That is all a diner wants, and it is why results show at once. It also means the collection is never sent out whole, so it is far harder to copy.

A visitor’s location stays on their own phone and never reaches the database, and the site says so when it asks for it.

The first page was online the day we started, at a link where he could watch the rest arrive. Six days in, every screen was built, for a phone and for a computer.

Before launch we moved the code, the database and the hosting into accounts of his own. He put the site live himself, following a video we had recorded, so he knows how every part of it runs.

When he was ready to charge for it, he decided what stays free: calories do, and the rest of the nutrition is for those who pay. We designed the paid plan to sell itself. A visitor sees every filter, locked or open, and so sees what Premium would add at the moment they want it.

## What it changed

MacroMapper went live in July 2024, less than eight weeks after we first spoke, with every one of his restaurants on the map. By that September it listed more than 10,000 locations.

Diners began using it within weeks, and six in ten came back within a month. They wrote in with what they wanted next, and their requests shaped the second release. In February 2025 accounts and Premium went live. By then Subway, KFC and Domino’s were on the list.

The spreadsheets only he could read are now a product he charges for. He runs it by himself, and a new chain goes in from a spreadsheet without a developer.

## Under the hood

If a technical friend is helping you decide, send them this part.

MacroMapper is one Next.js application on Vercel with a Postgres database behind it. Mapbox draws the map, and Stripe takes the payments.

### Tables shaped like the spreadsheets

The restaurant data sits in three tables whose columns match the founder’s sheets, so an import is a paste with no conversion step to go wrong. We weighed a fully normalized schema and left it out. At this size a visitor would notice no difference, and every import would have become a developer’s job.

### Only what is nearby

The browser reads the visitor’s position and finds which restaurants are nearby: within five kilometers for the list of restaurants, and ten for the search across their menus. It then asks the database for those restaurants’ menu items alone, so a query stays small however large the collection grows.

### A map that loads what is in view

Each time the map moves, it asks the database only for the positions inside the area on screen, so a phone never holds more of the country than it is showing. A restaurant’s name and details are fetched when its point is tapped.

### Location stays on the device

The visitor’s position is kept in the browser and is never written to the database. Distances are calculated on the device.

### Payments by Stripe

Stripe’s own checkout takes the card, so no card detail reaches MacroMapper. Stripe then tells the application through a signed webhook when a subscription starts or ends, and that alone turns Premium on and off.

### Pages search engines can read

Each restaurant’s page is rendered on the server with its own title and description, so search engines can index every one.

### Who did what

Benjamin Woodward gathered and calculated the data and runs the business. We designed and built the application, the database and the payments, and moved them into accounts of his own.

## More case studies

### [A charity run from a phone](https://hugoferris.com/case-studies/bright-sky-ministry)

### [A recipe site its designer maintains](https://hugoferris.com/case-studies/recipe-redirect)

[See all case studies](https://hugoferris.com/case-studies)

## Get in touch

If what your business knows is sitting in spreadsheets and could be a product, I’d be glad to hear about it.

Available for one new project

- [hugo@hugoferris.com](mailto:hugo@hugoferris.com)
- [Send me an iMessage Works on iPhone, iPad and Mac.](sms:hugoferris@icloud.com)
- [Book a call A 30-minute video call.](https://hugoferris.com/call)
