All projects

Interval Splitter

Front-end developer (technical test)

Client: Eurocontrol

Dec 2024

The technical test for Eurocontrol, built as a small React app.

  • Enter a start and an end breakpoint: the app splits the range into intervals drawn as bars whose width is proportional to their length
  • The splitting algorithm is written from scratch, with no third-party library, as the brief required
  • The input is validated
  • Hidden tip: when a split leaves single-value intervals (like 21 - 21) they get an animated outline, and two or more are joined by a bracket labelled "Magic ranges"

Stack: React, TypeScript, Redux Toolkit, Jest, React Testing Library, Vercel.

Technologies

  • React
  • TDD
  • TypeScript
  • Redux

Open the project