Case study
Fritte Master
A closed B2B ordering portal and back office for a frozen-food distributor in Serbia: each restaurant, bakery and pizzeria sees its own assortment and prices, orders in a few minutes, and every order lands in one admin.

- Industry
- Food distribution
- Services
- Web platforms, Backend & APIs, Internal tools
- Platform
- Web app, E-commerce, Dashboard
- Year
- 2026September to October 2026
In numbers
The build, counted.
- price levels, resolved per partner
- 5
- delivery towns, each with its own days
- 7
- printouts per order
- 3
Fritte Master
Overview
Fritte Master distributes frozen food and ingredients, from fries and pastry to cheese, to bakeries, fast-food places, pizzerias and patisseries across southwest Serbia. Orders used to arrive by phone, email and WhatsApp, at whatever hour, and had to be copied out by hand.
The brief was to move all of that into one system: a portal where approved partners order on their own, at their own prices, whenever it suits them, and a back office where the team prices, publishes and fulfils those orders, including the ones that still come in by phone.
I built both apps and the API behind them: the partner portal at partner.frittemaster.rs, the admin at admin.frittemaster.rs, and an Express and MongoDB API, from the first commit to deployment, in about two months. The portal is in Serbian, the language of every partner it serves.
Partner portal
Every partner sees their own shop
Access is for registered partners the team has approved. Once in, a pizzeria sees the categories its group is allowed, plus any articles added or removed for it alone, at its own prices. The filtering happens in the database query, so an article a partner shouldn't see is never sent to their browser.
- Search by article code as well as name, with or without diacritics
- Filters for category, brand, availability, offers and price
- Availability shown on every card, from in stock to on order
Pricing
Five price levels, one answer
A price can be set for everyone, for a group of partners or for one partner, and each can be on promotion. One function walks that chain, partner promotion, group promotion, partner price, group price, base price, and the same file runs on the server, in the admin and in the portal, so the price on screen is the price on the order. When an order is placed, its prices are frozen onto its lines.
- VAT at 10% and 20%, with a recap per rate
- Amounts kept in whole para, so totals never drift by a rounding
- Weighed goods billed on the actual weight of each piece
Ordering
An order in a few minutes, delivered on a real day
The cart counts in packs and respects each article's minimum. It sits in the browser, so a kitchen can fill it over a morning. At checkout the partner sees the next delivery to their town, can ask for a later one and leave a note. Each town has its own delivery days and orders close at 15:00, and the server checks the requested day again before it accepts it.
- Order confirmation by email to the partner and to the office
- Delivery and payment status tracked separately
Order again
Last week's order, at today's prices
Most partners order the same things every week. Any past order can be sent again: the portal shows today's price next to the old one, what is still available, and offers a replacement for anything that isn't, with a one-tap undo. Favourites and a list of frequently ordered articles keep the rest one tap away.
- A partner asks for a change instead of editing a placed order
Mobile
Built for ordering from the kitchen
Most orders are placed on a phone, so the portal installs to the home screen and has a tab bar for home, search, catalogue, orders and cart. The ordering flow is covered by end-to-end tests at phone and desktop size.
Back office
Every order in one list, however it arrived
Orders from the portal and orders taken by phone, Viber, email or in person sit side by side, each marked with where it came from. Entering a phone order suggests the partner's eight most ordered articles of the last thirty days. An order can be edited only until it ships, and every change is logged.
- Three printouts: order confirmation, dispatch note, and a driver's list without prices
- Bulk printing from the order list
- Partner change requests applied or declined in one step
Assortment
Deciding who sees what
Partners are grouped, pizzerias, bakeries and so on, and each group is given the categories it can buy from. Single articles can be shown to or hidden from a group or one partner on top of that. New partners register themselves and wait in an approval queue, and approval is when they get their group.
Delivery
A delivery calendar the portal obeys
Seven towns are served, Novi Pazar six days a week, the others once or twice. The team sets the days in the admin, and the portal works out each partner's next delivery from them and from the 15:00 cut-off, so nobody is promised a day the trucks don't run.
Under the hood
Small team, no second chances with orders
One Express API serves both apps, with one sign-in cookie shared across the subdomains and separate guards for partners and admins. Admins can turn on two-factor sign-in, implemented in-house to the RFC 6238 standard and tested against its published vectors. Health and readiness checks plus a watchdog restart the API if the database connection drops.
- 103 API endpoints and 25 data models
- Over 500 automated tests, unit, integration and end-to-end
- Rate limits on sign-in, registration and password reset
- One-command deploys that build, sync, restart and health-check
Admin on the go
The back office fits in a pocket
The admin is built for a phone as well as a desk: new orders, what is waiting to ship and what is unpaid on the dashboard, and the full order list, articles, prices and delivery days behind a bottom tab bar.
Problem and solution
What stood in the way, and what got built to deal with it.
- Problem
The same article costs different partners different amounts, and promotions come and go.
SolutionOne pricing function, shared byte for byte by the API, the admin and the portal, resolves the price, and orders keep the price they were placed at.
- Problem
Some articles are sold by weight, and a 34 kg wheel of cheese never weighs exactly 34 kg.
SolutionThese lines are priced per kilo, the weight of each piece is recorded, and the line is billed on their sum.
- Problem
Many orders will keep coming by phone, and a portal that ignores them splits the business in two.
SolutionThe admin enters them as orders like any other, marked with their channel and helped by the partner's usual articles.
Goals
- Move orders off the phone, email and WhatsApp
- Show each partner only their assortment and their prices
- Promise only delivery days the trucks actually run
- Keep phone orders in the same system as portal orders
Built with
Next.js
React
Tailwind CSS
Node.js
Express
MongoDB
Zod
A look inside
Results
What changed for the business after launch.
- Partners can order on their own, evenings and weekends included, instead of calling during office hours
- Orders arrive with article codes and quantities, so nothing is copied out of messages or checked back with the partner
- Phone and portal orders share one list, and the confirmation, dispatch note and driver's list print straight from it
- No partner is promised a delivery day the trucks don't run
Clients
What clients say about working with me.
Our partners now order on their own, evenings and weekends included, instead of calling during office hours. Orders arrive with article codes and quantities, so we no longer copy anything out of messages.
Emin Zoranić
Managing Director · Fritte Master

Want results like these for your business?
- Fixed-price offer in 48 h
- Free 30-minute call
KocaTex
Online catalogue and back office for a fabric wholesaler in Novi Pazar: 25 fabrics in 670+ shades, previewed on a garment in any colour, ordered through an inquiry cart, and fulfilled from a stock system that knows both stores.
Read it
