Avionics

À propos de ce projet
Mission-critical system built with Hexagonal Architecture and Effect-TS. Strictly decouples domain logic from infrastructure for deterministic behavior.
Fonctionnalités Clés
Seamless sharing of domains and types between Frontend and Backend using Turborepo. Dependency versions are strictly harmonized via pnpm catalogs preventing any mismatches.
React components are completely 'dumb', acting only as views. Complex reservation workflows and invariants are deterministically orchestrated by XState.
Declarative network failure management and type-level error encoding.
Validation of over 30 business properties via random fuzzing and payload shrinking (fast-check), ensuring survival across edge cases conventional unit tests would miss.
Dependency injection handled by the Effect compiler without decorators.
Leveraging @effect/platform for strict schemas mapping internal business failures directly to HTTP status codes, powering an interactive, always-truthful Scalar openAPI spec.
Adopting the rigor of functional languages like Rust or Scala within TypeScript. This involved unlearning conventional patterns (try/catch blocks, heavy IoC) to achieve atomic concurrency under massive booking contention using optimistic locking.
The engineering ROI of this strictness is immense. Treating failures as a formal mathematical contract rather than an implementation detail results in a bulletproof, decoupled system.