Felipe Gazolla.
← Projects
Mar 2026

RedlineKart.

Structured a go-kart operations system around 10 business contexts and 8 access roles.

  • Operations
  • SaaS
  • Services

Demos are interactive on desktop — on mobile, see the preview just below.

Three navigable views (admin panel, driver portal and public site), with fictitious data

Problem

Running a go-kart track involves complex flows — bookings, check-in, sessions, drivers, fleet and finances — hard to coordinate without a dedicated system.

Solution

Connected bookings, check-in, sessions, live timing, fleet, championships and finances in a staff operations panel and driver portal.

My role

Modeled operational workflows and modular architecture and built the staff and driver interfaces.

Outcome

Organized the platform into 10 business contexts and configured authorization for 8 roles, integrating operational workflows with real-time data.

Demo stack

Next.jsTypeScriptSCSS ModulesFictitious data

How it works.

Description of the real product (frontend + backend). The demo embedded above is its demonstration version, with fictitious data.

Connected online booking to track operations, timing, fleet, maintenance, CRM, championships and finances through two interfaces: a staff panel and driver portal. Structured the NestJS API as a modular monolith with 10 business contexts, authorization for 8 roles and real-time communication.

Architecture

  • Modular monolith in NestJS (Fastify): 10 self-contained bounded contexts, with synchronous communication via imports and asynchronous communication via BullMQ events (Redis).
  • Real-time timing and race control via Socket.IO (NestJS gateways), with an adapter layer to integrate the track's timing hardware.
  • JWT authentication (access + refresh in an httpOnly cookie) and ABAC authorization with CASL — permissions by module.action on top of 8 user roles.
  • Prisma/PostgreSQL with soft delete, UUID, monetary values in cents and dates in UTC; OpenAPI/Swagger documentation.
  • Frontend in Next.js 16 (App Router) consuming the API with React Query and Zustand, and Socket.IO for live data.

Modules

  • Administration: master records, users, permissions and executive dashboard
  • Operations: heat schedule, check-in, heat formation and kart allocation
  • Timing: lap/sector times, live standings and the big screen
  • Fleet and maintenance: karts, status, work orders and parts inventory
  • Commercial: online bookings, POS/cash register, events, vouchers and gift cards
  • CRM and marketing: 360 driver profile, segmentation, automation and loyalty
  • Championship: seasons, rounds, regulations, scoring and ranking
  • Finances: accounts receivable, cash closing and reports
  • Driver portal: bookings, post-race, social and ranking among friends
  • Integrations: payment, messaging (WhatsApp/email/SMS) and timing hardware

Engineering highlights

  • Unified operations in two frontends — staff panel and driver portal — over a modular API with 10 business contexts.
  • Configured ABAC authorization for 8 roles with module- and action-level permissions using CASL.
  • Implemented real-time timing and race control via Socket.IO, with adapters for track hardware.
  • BullMQ queues for marketing campaigns and asynchronous report generation.
  • Domain robustness: values in cents, UTC, soft delete, pagination/filters and typed business exceptions.
  • Quality: integration tests with a real PostgreSQL (Testcontainers) and an API documented in OpenAPI.

Real product stack

Frontend
Next.js 16React 19TypeScriptSCSS ModulesReact QueryZustandReact Hook FormZodAxios (JWT)RechartsTanStack TableFramer MotionSocket.IO clientdate-fnslucide-react
Backend
NestJS 10FastifyTypeScriptPrismaPostgreSQLSwagger/OpenAPI
Real-time & queues
Socket.IORedisBullMQ
Auth & quality
JWTCASL (ABAC)JestTestcontainersPino