Skip to content
Product research · MBA at FIAP · 2026

Youth Football Research

A survey shaped like a football match, with two halves and a halftime, that measures the real pain of people in youth football without pitching any idea.

Role
Product, design and full-stack development
When
October 2026
Team
Group of 4 MBA students
Status
Live, in field testing
Team area dashboard with KPIs, answers per day, funnel and breakdown by profile
Survey welcome screen titled "How does youth football work in practice?" with a Start button
Halftime screen between the first and second half, with the option to finish there
01. Context

Listen Before You Build

Four profiles on a phone, two survey halves with an optional stop at halftime, answer review, PDF and team dashboard.
From profile to review, a match that listens to people in youth football.

The capstone of the AI MBA at FIAP asks each group to prove, with real people, that there is a problem worth solving. Ours is youth football in Brazil: coaches, football school owners, parents and athletes.

The first round ran on Google Forms. It covered the basics, but with the same script for every profile and no way to tell which group each answer came from.

The challenge

Replace the form without losing comparability with the first round, while digging deeper into each profile's pain and never leading the answer.

02. Decisions

Six Choices That Shaped the Research

  1. 01

    A Match, Not a Form

    The survey has a first half, a halftime and a second half, and the progress bar is drawn as the pitch. At halftime people can stop right there, and the first half still counts.

  2. 02

    A Neutral, Comparable First Half

    First-half questions keep the same identifiers and options as the Google Forms round. Both datasets add up with no cleanup and no bias from a reworded question.

  3. 03

    Measure the Pain, Don't Sell the Idea

    The second half shows no product. It asks which problem weighs the most, how often it shows up, what it costs in hours or money and what people already tried. It is The Mom Test: talk about the past, never about a hypothetical solution.

  4. 04

    Real Research Methods

    Importance versus satisfaction (Ulwick's method) builds the opportunity ranking, and the Van Westendorp price scale only shows up for whoever makes the buying decision. The team dashboard computes both on the fly.

  5. 05

    "You Said"

    When people describe the pain in their own words, the next questions quote them back. No AI involved: it is an excerpt of what they wrote, which keeps the conversation personal and never makes anything up.

  6. 06

    Anonymous by Default

    Identifying yourself is optional and comes last. Before sending, people review and change any answer, and can download a PDF of everything they said, generated right in the browser.

03. On mobile

The Survey, on Mobile

Almost everyone answers on their phone, from a link shared in a WhatsApp group. So every screen was designed for the thumb first.

  1. 01 Welcome. No sign-up, no sales pitch, anonymous answers: all said before the first question.

  2. 02 Profile. Four profiles, each with its own script and estimated time.

  3. 03 Question. Multiple choice, with the progress bar drawn as the pitch.

  4. 04 Halftime. Halftime: anyone who has helped enough can stop here and lose nothing.

  5. 05 Scale. Importance from 1 to 5, the basis of the opportunity ranking.

  6. 06 Review. Before sending, every answer can be reviewed and changed.

04. On desktop

The Team Area

The research does not end when the answer is sent. Behind its own login, the team area turns responses into the material the MBA asks for at each milestone.

Dashboard. Answers per day, funnel, profiles, origin by group and the trust level of each answer.
Reports. Numbers for the E3 milestone computed on the fly, with CSV and PDF exports.
Questions. Catalog by profile, with each question's results and the versioned questionnaire editor.
Milestones. Timeline of the MBA milestones: what the school asks for and what the group delivered.

* Screenshots of the live product, with the dataset still in field testing. On the milestones screen, the professors' feedback was hidden.

05. Engineering

Under the Hood

A public form on the internet attracts bots and repeated submissions. The survey shipped with protection at the door and automated deploys.

Stack

  • Next.js 16
  • React 19
  • TypeScript
  • PostgreSQL
  • Zod
  • Motion
  • jsPDF
  • Docker
  • Azure DevOps
  • Traefik
Five steps: bot protection, Zod validation, versioned questionnaire, TypeScript and Playwright checks, Azure DevOps deployment.
Protected submissions, versioned responses and automated releases.

Safeguards

  • Rate limit of 5 submissions per IP every 10 minutes
  • Honeypot field for bots, and submissions faster than 15 seconds are discarded
  • Every answer validated on the server against the profile's questionnaire
  • Questionnaire versioned in the database: editing a question never breaks comparison with older answers
  • Team area with scrypt-hashed password, CSP and security headers
  • Push to main, Azure DevOps pipeline and a container behind Traefik

Tests and Quality

  • TypeScript
  • Playwright
  • TypeScript type checking inside the build of every push: a type error never reaches production
  • End-to-end flow checked with Playwright in a real browser: all four profiles up to the review step, without submitting answers
  • No automated test suite in the repository yet; it is the next step before the public launch
06. Inside the code

What You Would Find in the Repository

A small, one-person project, built with the care of a system that receives data from real people. The code is private; below is what it holds and where.

Architecture

  • Questionnaire as data

    questions.ts · questionario_versoes

    The questions for the four profiles live in their own module, and each version published in the database stores only what changed: disabled questions and new ones.

  • Rules outside the routes

    src/lib · src/app/api

    Validation, pain classification, exports and session live in src/lib. API routes only orchestrate.

  • Lean container

    Dockerfile · USER nextjs

    Next standalone build, multi-stage image, unprivileged user and a health check.

Types and Validation

  • Two-layer validation

    envioSchema · respostasValidas()

    Zod checks the shape of the submission. Then each answer is checked against the questionnaire version the person saw: known questions only, existing options only, nothing outside the flow.

  • Cross-field rules in the schema

    .refine()

    Whoever leaves an email or WhatsApp must give a name, and whoever asks for a follow-up must leave a contact.

  • Types checked in the build

    strict · next build

    Strict TypeScript, checked inside the build on every push: a type error never reaches production.

Database

  • Constraints in the database itself

    CHECK (perfil IN …)

    The profile column only accepts the four valid values, even if someone writes outside the app.

  • Additive, re-runnable migrations

    IF NOT EXISTS

    Each change only adds, and the script can run again without errors. The live version does not break during deploy.

  • One draft at a time

    partial index · FOR UPDATE

    A partial unique index allows at most one questionnaire draft, and publishing locks the row inside a transaction.

  • Contact kept apart from answers

    contatos · ON DELETE CASCADE

    Name and contact sit in another table, so everything can be deleted at the end of the course without losing the answers.

Security and Privacy

  • IP stored only as a hash

    ip_hash

    The address becomes a salted SHA-256 hash before it is saved. Repeat submissions can be throttled without keeping who answered.

  • Signed session

    scrypt · HMAC · timingSafeEqual

    Password hashed with scrypt, HMAC-signed cookie and constant-time comparison. Changing the password ends every open session.

  • Every route checks the session

    exigirSessao()

    The check does not rely on the layout: every internal page and route calls the same function.

  • Spreadsheets without formulas

    exportar/route.ts

    A cell starting with =, +, - or @ is neutralized before going into the CSV, so it never runs as an Excel formula.

  • Security headers

    next.config.ts

    CSP, HSTS, iframe blocking and the team area kept out of search.

Delivery

  • Shared pipeline

    Azure DevOps · templates

    Deploy uses the same pipeline templates as the other projects: build, image and release on every push to main.

  • Configuration from the environment only

    process.env

    Database, hash salt and team credentials come from environment variables. No secrets in the repository.

07. Today

Where It Stands

The survey is live and being tested by the group before it goes out. Each WhatsApp group gets its own link, and the dashboard shows where every answer came from.

The team area already tracks the MBA milestones and produces the numbers for the next stage straight from the database, with no spreadsheet in between.

Next step

Have a Similar Project in Mind?

I like problems with real people on the other side. Tell me what you need.