How dean-pawiro/uptimechecker works
UpTime Checker lets users authenticate, configure monitored URLs, and review uptime, response times, and status history; an internal worker performs scheduled checks and sends transition alerts. The UI also exposes monitor details, user administration, email settings, and service-client contact records. The sampled source confirms authentication, service-client loading, worker behavior, email delivery, and server wiring; several page and route implementations were not sampled, so their internal API links are not inferred.
Main entry points: App.jsx App navigation · server.js Express server · service.js Service routes · monitorWorker.js Monitoring worker
Components 21
User interface
- App navigation
frontend/src/App.jsx - Auth context
frontend/src/context/AuthContext.jsx - Overview dashboard
frontend/src/pages/OverviewDashboard.jsx - Monitor pages
frontend/src/pages/MonitorsPage.jsx - Monitor details
frontend/src/pages/MonitorDetails.jsx - User management
frontend/src/pages/UserManagement.jsx - Settings
frontend/src/pages/SettingsPage.jsx - Service clients
frontend/src/pages/ServicePage.jsx
API and access
- Express server
backend/src/server.js - Authentication routes
backend/src/routes/auth.js - Monitor routes
backend/src/routes/monitors.js - Settings routes
backend/src/routes/settings.js - Contact routes
backend/src/routes/contactInfo.js - Service routes
backend/src/routes/service.js - Auth middleware
backend/src/middleware/auth.js
Monitoring
- Monitoring worker
backend/src/workers/monitorWorker.js
Persistent state
- MySQL database
backend/src/config/database.js
Integrations
- Email service
backend/src/services/emailService.js
Other components
- User
- SMTP provider
- External cron
Connections 25
- User → App navigation: uses
- App navigation → Auth context: checks session
- App navigation → Overview dashboard: renders
- App navigation → Monitor pages: renders
- App navigation → Monitor details: renders
- App navigation → User management: renders
- App navigation → Settings: renders
- App navigation → Service clients: renders
- Auth context → Authentication routes: requests auth
- Service clients → Service routes: loads clients
- Express server → Authentication routes: mounts routes
- Express server → Monitor routes: mounts routes
- Express server → Settings routes: mounts routes
- Express server → Contact routes: mounts routes
- Express server → Service routes: mounts routes
- Express server → MySQL database: connects and syncs
- Express server → Monitoring worker: starts worker
- Authentication routes → Auth middleware: protects endpoints
- Service routes → Auth middleware: protects clients
- Service routes → Monitoring worker: triggers checks
- Monitoring worker → MySQL database: loads and saves checks
- Monitoring worker → Email service: sends status alerts
- Email service → MySQL database: loads SMTP settings
- Email service → SMTP provider: delivers email
- External cron → Service routes: triggers checks