Skip to content
Sina KalantariAll Projects

Personal fitness coaching

In progress

Hampa

A fitness platform where a coach writes each workout and nutrition plan from the customer's own answers and body details, with a store alongside. It is still being built, and this page shows where it stands.

Role
Full-stack developer
Started
2026
Market
Iran, in Persian
Model
Coach-written programs & a store
Hampa's My programs page, with tabs for active, queued and incomplete programs above three active programs
The customer's panel: every program they have bought, grouped by where it stands.

A plan written for one person

Hampa sells workout and nutrition programs that don't exist until someone buys them. A customer picks a program, answers a questionnaire about their body, goals and routine, and a coach writes the plan that appears in their account. A store for fitness products runs beside it.

The name is Persian for someone who keeps pace beside you, which is what the product promises. It is a working name: Hampa hasn't launched yet.

Where the build stands

Hampa is not live. The design is complete and a first version of the backend exists. I'm now rebuilding the product on a stronger foundation before it opens.

  1. Step oneProduct designDesktop and mobile screens for the storefront, the questionnaire, the customer's panel and the store.
    Completed
  2. Step twoFirst backendAccounts, programs, the questionnaire, orders, payment and the coach's workspace, working as an API.
    Completed
  3. Step threeNew foundationMoving the product onto the commerce platform I built for Starsor, and building its screens there.
    In progress
  4. Step fourLaunchOpening to customers and coaches.
    Up next

One order, three states

The screens are frames from the product's design file, in Persian and right to left. Names and photos in them are sample data.

  1. Needs your details

    First, the questionnaire

    Paying for a program opens a form, not a download. It asks for the basics, then height and weight on a ruler, three photos of the body from the front, side and back, and the questions that particular program needs. The customer can leave and come back: the panel shows how much of each form is still missing.

    Questionnaire step asking for height, set to 178 centimetres on a vertical ruler, beside a list of six steps
  2. In the coach's queue

    Then a coach takes over

    Once every required answer is in, the order moves to the coach's queue on its own. The coach reads the answers, starts from a template and writes the plan for that one person. The storefront promises it within five to ten working days, with a message when it's ready.

    Panel sections for programs in the preparation queue and programs with incomplete details, each with a completion percentage
  3. Active plan

    A workout plan, move by move

    A workout plan is a set of sessions, each a sequence of exercises with sets, repetitions and weight. Exercises can be grouped into supersets or set to alternate week by week, and each one opens to its illustration and notes on a phone at the gym.

    Workout plan listing numbered exercises with illustrations, sets, repetitions and weight, two of them grouped as a superset
    One exercise on a phone, with its illustration, sets, repetitions, weight and a button to start
  4. Active plan

    A meal plan, day by day

    A nutrition plan is laid out by the day of the week: each meal with its time, its portion and the food group it belongs to, under the coach's general guidance for the whole plan.

    Meal plan for Saturday listing eight meals with photos, times and portions, above collapsed rows for the other days

When the machine is taken

Gyms are shared, and a plan meets reality at the worst moment. Every exercise and every food in Hampa's library can be paired with substitutes, so a customer who finds the machine busy swaps the exercise in place and keeps training.

Try it on the plan.

Hampa

Session one · Back and chest

  1. Machine chest press

    Chest and front of the shoulders

    3 sets10 reps8–12 kg
  2. One-arm cable pull

    Back and shoulders, one side at a time

    3 sets12 reps10–15 kg
  3. Superset

    Single-handed cable row

    Back and shoulders

    3 sets12 reps

    One-arm cable pull

    Rear and front deltoids

    3 sets8 reps8–12 kg
  4. One of these, alternating by week

    Single-arm pulley row

    Back and shoulders

    3 sets12 reps

    Unilateral cable pull

    Back and core

    3 sets10 reps8–12 kg
A simplified model of the plan view. The exercises and their substitutes are examples.

That's the project. The rest is how it's built.

From here on, this page is written for technical readers: the stack it is being built on, and the parts written only for this product. If you came to see the work itself, you've seen all of it.

Scroll to contact

What I'm building it on

Planned stack

  • Laravel
  • Inertia
  • Vue 3
  • TypeScript
  • SSR
  • Docker

The first backend was a standalone Laravel API. The rebuild puts Hampa on the platform I wrote for Starsor: one Laravel application that renders its pages on the server through Inertia and Vue 3, with TypeScript on the front end.

Accounts, the catalog, the cart, checkout, payments and the admin panel come with that platform. What has to be written for Hampa is everything a store doesn't have, and the first backend already models it:

Programs, tiers and add-ons

A program has a type (workout or nutrition), a level and a goal. It sells in tiers with their own prices and can carry optional add-on services ordered with it. An order's total is recalculated from its lines, tiers, add-ons and discount code on every change.

A questionnaire that branches

Questions are data, not code: each has a type, options, a validation rule and an optional condition on an earlier answer or a profile field such as gender. A program lists the questions it needs, and an order counts as complete only when every required question that applies has an answer.

States that set themselves

A program order is waiting for the form, waiting for the plan, or has its plan. Nobody sets that by hand: the state is recomputed whenever an answer, a body record or a plan is saved, and payment is tracked separately from it.

Body records

Age, height, weight and the three photos are stored per order rather than per account, so each plan keeps the measurements it was written from.

Plans as documents

A finished plan is one structured document attached to the order: sessions, exercises, sets, meals and notes. Coaches start from reusable templates of the same shape, and the same document renders in the web panel and on a phone.

Libraries and substitutes

Exercises carry a level and the muscle areas they target; foods carry their macronutrients. Substitutes are stored as pairs in both libraries, which is what the swap above reads.

Content per language

Programs, questions, exercises and foods keep their text in translation tables, so another language is new rows rather than new columns. The first market is Persian.

Let's Work Together

Have a project in mind?

I'm always open to discussing new ideas, collaborations and exciting opportunities.