├── client/ # React frontend application
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ │ ├── ui/ # shadcn/ui component library
│ │ │ ├── layout/ # App shell, navigation, sidebars
│ │ │ └── tip-tracking/ # Tip entry and distribution components
│ │ ├── pages/ # 50+ page components and routes
│ │ ├── hooks/ # Custom React hooks (auth, queries)
│ │ └── lib/ # Utilities, tip calculations, config
├── server/ # Express.js backend API
│ ├── routes/ # 18 domain-specific route modules
│ ├── scripts/ # Database seed scripts
│ └── index.ts # Server entry point with error handling
├── shared/ # Shared code between client and server
│ ├── schema.ts # Drizzle ORM schema (single source of truth)
│ └── formulas/ # Tip distribution and payroll formulas
└── docs/ # Project documentation