How sharkesh-17/scoutops--ss-portal works
ScoutOps lets campus users report infrastructure issues and maintenance staff track, assign, update, and resolve them through a web UI and REST API backed by PostgreSQL. The API also exposes health checks and Prometheus metrics. The README documents monitoring, deployment, backup, and rollback as operational capabilities. Runtime relationships are supported by the excerpts; operational links rely on README descriptions, since those implementation files were not sampled.
Main entry points: app.js Issue REST API · prometheus.yml Prometheus · index.html ScoutOps web UI · server.js HTTP server
Components 14
Issue management
- ScoutOps web UI
public/index.html - Issue REST API
src/app.js
Application runtime
- HTTP server
src/server.js - Database access
src/db.js - PostgreSQL
db/init.sql
Monitoring
- Metrics endpoint
src/app.js - Prometheus
monitoring/prometheus.yml - Alert rules
monitoring/alerts.yml - Grafana datasource
monitoring/grafana-datasource.yml
Operations
- Production deployment
scripts/deploy.sh - Database backup
scripts/backup.sh - Image rollback
scripts/rollback.sh
Other components
- Students and staff
- Maintenance team
Connections 13
- Students and staff → ScoutOps web UI: report issues
README.md - ScoutOps web UI → Issue REST API: fetches from
README.md - Maintenance team → ScoutOps web UI: track issues
README.md - HTTP server → Issue REST API: serves
src/server.js - Issue REST API → Database access: queries
src/app.js - Database access → PostgreSQL: queries
README.md - Issue REST API → Metrics endpoint: exposes
src/app.js - Prometheus → Metrics endpoint: scrapes
README.md - Prometheus → Alert rules: evaluates
README.md - Grafana datasource → Prometheus: uses datasource
README.md - Production deployment → HTTP server: deploys
README.md - Database backup → PostgreSQL: backs up
README.md - Image rollback → HTTP server: restores image
README.md