How allenasat044-prog/servercats works
LabServer combines a Linux collector that provisions and monitors a college computer lab with a React site that presents the collector’s saved report. The user workflow is to visit the dashboard and focused pages for users, storage, backups and cleanup, then consult setup FAQs; the dashboard also exposes terminal output and a report download. The README documents account creation, department folders, cleanup, backup/restore checks and CPU/RAM/disk collection. The collector and intermediate data flow are described in documentation, but their implementation is not linked to the website by sampled source; those edges are dashed to mark this evidence limit.
Main entry points: App.tsx Page routing · lab.ts Data access and formatting · dashboard-4.tsx Dashboard layout · Dashboard.tsx Health dashboard
Components 23
Lab collection
- Linux collector
server/collect.sh - Report processing
server/collect.py - Collected report
server/data.json - Website snapshot
src/data.json
Lab website
- Page routing
src/App.tsx - Data access and formatting
src/lib/lab.ts - Health dashboard
src/pages/Dashboard.tsx - Backup and cleanup
src/pages/Backups.tsx - Storage and access
src/pages/Storage.tsx - Users and software
src/pages/Users.tsx - Storage backdrop
src/components/ui/prisma-hero.tsx
Dashboard components
- Dashboard layout
src/components/ui/dashboard-4.tsx - Report shortcuts
src/components/ui/dashboard-4-utils/quick-actions.tsx - Resource chart
src/components/ui/dashboard-4-utils/resource-chart.tsx - Lab statistics
src/components/ui/dashboard-4-utils/stats.tsx - Department chart
src/components/ui/dashboard-4-utils/department-chart.tsx - Cleanup chart
src/components/ui/dashboard-4-utils/cleanup-chart.tsx
Help and landing
- FAQ page
src/pages/Faq.tsx - Landing page
src/pages/Landing.tsx - FAQ presentation
src/components/ui/faqs-02.tsx - Landing animation
src/components/ui/skiper39.tsx
Other components
- Lab administrator
- Website visitor
Connections 28
- Lab administrator → Linux collector: runs on Linux
README.md - Linux collector → Report processing: processes report
README.md - Linux collector → Collected report: writes report
README.md - Collected report → Website snapshot: copied for site
README.md - Website visitor → Page routing: opens pages
README.md - Page routing → Health dashboard: routes to
src/App.tsx - Page routing → Backup and cleanup: routes to
src/App.tsx - Page routing → Storage and access: routes to
src/App.tsx - Page routing → Users and software: routes to
src/App.tsx - Page routing → FAQ page: routes to
src/App.tsx - Page routing → Landing page: routes to
src/App.tsx - Data access and formatting → Website snapshot: loads snapshot
src/lib/lab.ts - Health dashboard → Data access and formatting: reads data
src/pages/Dashboard.tsx - Backup and cleanup → Data access and formatting: reads data
src/pages/Backups.tsx - Storage and access → Data access and formatting: reads data
src/pages/Storage.tsx - Users and software → Data access and formatting: reads data
src/lib/lab.ts - FAQ page → FAQ presentation: renders
src/pages/Faq.tsx - FAQ page → Data access and formatting: reads data
src/pages/Faq.tsx - Landing page → Landing animation: renders
src/pages/Landing.tsx - Storage and access → Storage backdrop: renders
src/pages/Storage.tsx - Health dashboard → Dashboard layout: renders
src/pages/Dashboard.tsx - Health dashboard → Report shortcuts: calls download
src/pages/Dashboard.tsx - Dashboard layout → Report shortcuts: renders
src/components/ui/dashboard-4.tsx - Dashboard layout → Resource chart: renders
src/components/ui/dashboard-4.tsx - Dashboard layout → Lab statistics: renders
src/components/ui/dashboard-4.tsx - Dashboard layout → Department chart: renders
src/components/ui/dashboard-4.tsx - Dashboard layout → Cleanup chart: renders
src/components/ui/dashboard-4.tsx - Report shortcuts → Data access and formatting: downloads report
src/components/ui/dashboard-4-utils/quick-actions.tsx