Skip to content
RWC

Project

Yper: A Private Chef Booking App for Customers and Chefs in React Native

Yper (YperKokk) brings private chefs to people's homes in Norway. I am building its React Native app from the designs: a customer side with a chef map, profiles and a booking wizard, and a chef side with dishes, bookings and earnings.

By Rohit Pippal7 min readComments

Yper, or YperKokk ("kokk" is Norwegian for chef), is a mobile app that brings private chefs to people's homes in Norway. A customer can book a chef for a day they choose, or find one nearby who is free today. A chef gets bookings, a menu of their own and a clear view of what they earn.

The app is still being built. I am building it in React Native from the client's screen designs: one app with a customer side and a chef side. All the screens of both sides are built. Sign-up, log-in and password reset for both sides, the chef list, chef profiles, dishes and saved chefs already run on the live API. Bookings, payments, chat and earnings run on sample data for now, until they are connected to the API.

What I am building

  • Two sides in one app: separate sign-up, log-in and password pages for customers and chefs, each opening its own side.
  • The customer side: the chef list, a map of chefs nearby, chef profiles with an availability calendar, a three-step booking wizard, bookings, chat, payment cards, receipts and settings.
  • The chef side: Chef's Choice (dishes and shopping lists), earnings and tips, bookings, chat, reviews and a profile with Go Offline.
  • The API connection: accounts, email checks, reset links that open the app, the chef catalogue, dishes and saved chefs.
  • Review builds for the client: Android test builds that run every screen on sample data.
  • Tests: more than 60 test files, including checks against the live API.

How Yper works

Customers

After logging in, a customer chooses Drop In or Booking.

  • Drop In opens a map of the chefs near them, with the ones free today in green, or the same chefs as a list, nearest first.
  • Booking opens the "Our Chefs" list: every chef, page by page, filtered by a location typed into the search. A chef's profile shows their story, signature dishes, an availability calendar and reviews, and a customer can save a chef for later.

Booking takes three steps:

  1. The service: one day (a personal chef at home, small prep services, a Yper breakfast, midnight food) or several days (meal prep, a combo package).
  2. The details: the address, the date and arrival time, the number of people, what to cook and any allergies. Each service has its own limits for people and days. Times come in 15-minute steps, a booking can be up to six months ahead, and a drop-in is for today, with the chef arriving at least an hour later.
  3. The summary: a coupon, the price from the server, then payment.

My Bookings then lists every booking by status. The customer can message the chef, cancel a confirmed booking until 24 hours before it starts, and answer when the chef marks the job as done: yes, or no with a reason. After that comes a review with stars. A paid booking has a receipt with the VAT shown, and Transactions lists every payment. A chat can start a booking too: "Hire" in a conversation opens the wizard for that chef.

Chefs

A chef signs up and then waits for the Yper team to approve the account. Until then, logging in opens a page that says whether the application is pending, was not approved, or the account was deactivated.

Once approved, the chef works from five tabs:

  • Chef's Choice: their dishes, each with a photo, a description, the time it takes and a shopping list of ingredients with amounts and units. Up to five dishes are published at once; more are saved hidden.
  • Earnings: total earnings, tips and payments.
  • Bookings: by status, each with the customer, the booking and the menu, and a button to mark it complete.
  • Inbox: chats with customers, where the chef can open the booking or send a shopping list.
  • More: a dashboard of bookings, this month's earnings and the menu, then reviews filtered by stars, the profile with a Go Offline switch, notification settings, an invite link, support and a page about the Yper concept.

Two sides, one codebase

Customers and chefs have their own API endpoints for every account step, so the sign-in pages are written once and mounted twice, one copy per side. Logging in swaps the whole set of screens for that side, so there is no history to go "back" into, and logging out returns to the log-in page of the side that was in use. A reset link in an email opens the reset page of the right side, with its token.

A log-in can be refused for several reasons, and the API has no error codes yet, only messages. The app matches the documented cases (an unconfirmed email, a chef waiting for approval, not approved, deactivated) and shows the right page for each, with a resend button where the email still needs confirming, instead of one generic error.

The API has no refresh token, so the app asks for the long-lived session. Otherwise a customer would be logged out every day.

A map without a paid key

The Explore map shows chefs around the customer. While the project has no Google Maps key, the app draws free map tiles, with my own Web Mercator maths to place the pins and fit them on the screen, never closer than city level, so a chef next door does not zoom the map to street level. With a key, the same screen uses Google's map.

Finding the customer happens on the phone, with no paid service. The quick approximate fix from Wi-Fi and mobile networks and the GPS fix start together, and the first answer wins. Approximate is enough to find chefs nearby. When every read fails, the app names the most useful reason: no permission, location turned off, or no answer in time.

Building the screens before the API is ready

Many endpoints were still being built when the screens were ready. So every service got its final shape first and reads sample data for now, with a note of the endpoint that will replace it. When an endpoint arrives, only that one function changes; the screens do not.

The sample data has a full and an empty setting, so pages like "No bookings yet" can be reviewed too, and the form rules can be switched off during the review so every step can be reached quickly. For the chef side there is a small pager at the top, "‹ 12/42 ›", that steps through all 42 of its pages one by one, and each page has its own link. A real release never shows sample data: there, a screen without its API shows the normal error message.

Each service also notes the endpoints that are still missing or undocumented, such as cancelling a booking or previewing a coupon, so the backend work is a clear list rather than a surprise.

Small things done carefully

  • Norwegian kroner ("kr 4,500" on cards, "NOK 4,500" on details), formatted by hand, because the JavaScript engine on Android does not ship full number formatting.
  • Shopping lists treat "Tomato" and "tomato " as one ingredient, and the table has room for amounts like "1000.25" and units like "bunches".
  • Saving a chef twice is not an error: "already saved" and "already removed" count as done, so a double tap never shows a warning.
  • One bad record stays small: a malformed chef in a list is skipped instead of breaking the page.

What I have learned so far

Giving each service its final shape before the API exists lets the design review and the backend move at the same time. The client sees real screens on a real phone, and the move to live data happens one function at a time.

Tools used

AreaTools
Mobile appReact Native, TypeScript, React Navigation
DataTanStack Query, Zustand, MMKV, Axios
FormsReact Hook Form, Zod
Maps and locationReact Native Maps, device location, permissions
Texti18next
TestsJest, React Native Testing Library

Do you have app designs that need to become a working app? Tell me about it.

Comments

No ratings yet

Log in to comment

Only members can comment and rate posts. It is free and takes a minute.

No comments yet. Be the first to share your thoughts.

All projects
  • Project

    Mobile Apps

    FieldOps: An Offline-First Property Inspection App in React Native

    FieldOps is a React Native app for property inspections. Field agents capture checklists, photos and flags without signal and upload later; property managers review visits and alerts. I built the app and the API changes behind it.

    10 min read
  • Project

    Service Marketplaces

    Bid Learn Grow: A Booking Engine Where Clients Bid for a Coach's Time

    Bid Learn Grow is a Laravel booking engine where clients bid for a coach's time slots. I built the booking and bidding rules, the outbid and winner emails, Google Calendar and Outlook sync, and a booking widget coaches paste into their own websites.

    7 min read
  • ProjectFeatured

    AI Platforms

    MasteryOS: An AI Platform for Experts, With Assistants, Assessments and Voice

    MasteryOS is MasteryMade's AI platform for experts: each gets a site with assistants that answer from their own material, guided assessments, voice chat, plans and credits. I am the largest contributor to its Next.js frontend and worked on two side tools, MetaMCP and KeyVault.

    10 min read