Architecture Overview

Overview of the Odysee.ai frontend architecture and monorepo structure

Architecture Topics

Quick Overview

Tech Stack

TechnologyPurpose
Next.js 15.1React framework with App Router
React 19UI library
TypeScript 5.7Type safety
Material-UI 7.2UI component library
Turborepo 2.xMonorepo build system
pnpm 9.1.0Package manager

Project Structure

turbo.json
package.json
pnpm-workspace.yaml

Key Architectural Decisions

Why Monorepo?

  • Code Sharing: Share components, utilities, and configurations across applications
  • Atomic Changes: Update multiple packages in a single commit
  • Consistent Tooling: Unified linting, formatting, and testing
  • Faster Builds: Turborepo's caching dramatically speeds up builds
  • Type Safety: End-to-end type safety across all packages

Why Next.js 15?

  • App Router: Modern routing with React Server Components
  • Performance: Built-in optimizations for images, fonts, and code splitting
  • Developer Experience: Fast Refresh, TypeScript support, and great tooling
  • Deployment: Seamless integration with Vercel

Why Material-UI?

  • Comprehensive: Large library of pre-built components
  • Customizable: Powerful theming system
  • Accessible: WCAG 2.1 compliant components
  • Production Ready: Battle-tested in enterprise applications

Getting Started

New to the architecture? Start here:

  1. Monorepo Structure: Understand the workspace setup
  2. Applications: Learn about each app
  3. Shared Packages: Explore reusable code
  4. Data Fetching: Master data patterns

Ready to dive deeper? Choose a topic from the cards above.