How kalel-ifpb/projeto-ping works
projetoPING.COM is a Node-backed network-device monitor. Users register or sign in, manage private-IPv4 devices, and view current status and historical latency/loss; the backend performs immediate and scheduled ICMP checks. The sampled sources show the server invoking the ping module and the browser calling API endpoints, while README documents dashboard, device, problem, history, and detail views. Some API and scheduler code and the UI markup are unsampled, so those documented links are shown only where supported.
Main entry points: server.js HTTP API and routing · script.js Dashboard and views · monitoring.js ICMP execution and classification · index.html Page structure
Components 15
Web interface
- Dashboard and views
script.js - Page structure
index.html - Interface styling
style.css
Application backend
- Account access
server.js - HTTP API and routing
server.js - Device management
server.js - Current status summary
server.js - Check history
server.js - Served interface assets
server.js
Monitoring
- Periodic checks
server.js - Check recording
server.js - ICMP execution and classification
monitoring.js
Persistent state
- JSON data file
db.json
Other components
- Account user
- System ping utility
Connections 18
- Account user → Dashboard and views: uses
README.md - Dashboard and views → HTTP API and routing: calls API
script.js - HTTP API and routing → Account access: routes auth
server.js - HTTP API and routing → Device management: routes devices
server.js - HTTP API and routing → Current status summary: routes dashboard
README.md - HTTP API and routing → Check history: routes history
server.js - HTTP API and routing → Served interface assets: serves assets
server.js - Device management → Check recording: checks new device
README.md - Periodic checks → Check recording: runs checks
README.md - HTTP API and routing → Check recording: checks on demand
server.js - Check recording → ICMP execution and classification: calls ping
server.js - ICMP execution and classification → System ping utility: executes
monitoring.js - HTTP API and routing → JSON data file: reads and writes
server.js - Dashboard and views → Page structure: renders in
README.md - Served interface assets → Interface styling: serves
README.md - Dashboard and views → Current status summary: shows summary
README.md - Dashboard and views → Check history: shows history
script.js - Dashboard and views → Device management: manages devices
script.js