02Football club

Racing Club Cabañas

A system for members, gate access and ticketing, installed from a versioned template and extended with season-based sponsors.

Context
Developed at Intelidatia
Status
System delivered
Year
2026

What we built

Club management, with sponsors included.

We adapted a shared foundation to Racing’s brand, cards and features. Each club keeps its own data and deployment.

  • Racing’s identity

    Cards carry the club’s designs, with four-digit member numbers that fit the printed layout.

  • On matchday

    Members, gate scanning and ticket counting connected in one application used from a phone.

  • Seasonal sponsorship

    Each agreement tracks commitments, payments and outstanding amounts. Logos need permission before being shown.

System delivered

Members, gate access and ticketing, alongside a module for each season’s sponsorship agreements.

How we built it

The decisions behind the system.

Install from a template rather than copy the project
Problem
Creating another club by copying the project means fixing every fault twice and makes the versions diverge.
Decision
The club is created from the “club-futbol” template, which its manifest pins at version 1.3.4 with thirteen active features. The installer runs as a dry run first and only creates anything once confirmed.
Consequence
The club starts with the complete system and its own brand. Whatever is improved here is available to the club that comes next.
Verification
The club’s manifest records template, version and features, and its migration ledger is kept out of reach of the public API.
A four-digit member number
Problem
The pass artwork reserves a fixed space for the number: a value outside that range would break the printed layout.
Decision
A constraint requires the number to sit between 0001 and 9999. The check is deferred to the end of the transaction, because the inherited renumbering uses negative values in passing.
Consequence
The printed pass never overflows and the renumbering inherited from Alburquerque keeps working untouched.
Verification
The migration validates the existing data first and only then installs the constraint.
Sponsors by season, with the logo under authorisation
Problem
A sponsor does not stay with a club forever: the agreement changes each season. And holding a logo is not permission to publish it.
Decision
The module stores the company, its agreements by season, the payments and what the club gives in return. Logos live in a private store and carry an explicit authorisation date before they can be shown publicly.
Consequence
The club can look up who sponsored each season, and no logo is exposed unless somebody authorised it first.
Verification
The migration that creates the module leaves that store private and publishes no logo by itself.
Deleting a sponsor is a separate action
Problem
Withdrawing an agreement and deleting the sponsor are different things; merging them would lose the record by accident.
Decision
While the sponsor exists its history is kept. On deletion, the database removes its agreements and the dependent payments in cascade, in a single operation.
Consequence
No orphaned agreements or payments pointing at nobody remain, and withdrawing an agreement no longer means deleting the sponsor.
Verification
The relationship between agreements and sponsor was rebuilt with cascading deletion in its own migration.

Technologies used

  • Next.js 16
  • TypeScript
  • Tailwind CSS v4
  • Supabase
  • PostgreSQL with RLS
  • Resend
  • Vercel
Visit Intelidatia

CD Novés

Football club · Novés, Toledo
View project
Contact

Let’s stay in touch.

Have a project in mind or a professional opportunity? I’m interested in discussing software development, applied AI and potential collaborations with people and teams.