Initiated the obsidian vault

This commit is contained in:
Mohammed Abad committed 2026-04-22 02:09:10 +01:00
1 parent 3c4958df50
commit 1058274a6a
13 files changed
+262

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# 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 point
- `react_frontend/src/App.tsx` — React app entry + router
- `react_frontend/src/stores/useLibraryStore.ts` — Global library state
- `electron/main.js` — Electron main process