TrainStack
Developers

Architecture

High-level system design and project structure.

TrainStack is a Turbo monorepo with three apps — a Fastify backend, a Next.js web app, and an Expo mobile app — plus a shared contract package for type-safe RPC. This page covers how the pieces fit together and how data flows from device to database.

System Overview

Monorepo Structure

Data Flow

On this page