880 B
880 B
Architecture
Overview
Showy is a media tracking application with three main layers:
- Backend — Node.js + Express REST API with Sequelize ORM and MySQL
- Frontend — React 18 + TypeScript SPA (Vite, TanStack Query, Zustand, shadcn/ui)
- Electron — Desktop wrapper using Electron
Key Flows
- Library data is fetched on app load into a Zustand store (
useLibraryStore) - Pages use TanStack Query hooks for server state (seasons, episodes, statistics)
- Dashboard charts consume statistics endpoints and library store data
- Maintenance/cleanup operations use dedicated backend endpoints
Important Files
backend/server.js— Express app entry pointreact_frontend/src/App.tsx— React app entry + routerreact_frontend/src/stores/useLibraryStore.ts— Global library stateelectron/main.js— Electron main process