How shevaughn101/ja-accident-report-frontend works
The file tree suggests a browser-based incident platform with civilian reporting and review, officer and admin views, and an insurance portal. The only sampled implementation is firebase-config.js: it initializes Firebase Auth, Firestore, and Storage, and provides authenticated API-fetch support. Page contents and wiring were not sampled, so their links and data flows cannot be established; the page groupings below reflect their filenames, not verified navigation.
Main entry points: firebase-config.js Firebase configuration
Components 18
Civilian experience
- Incident report
civilian_report.html - Evidence upload
civilian_upload.html - Report review
civilian_review.html - Civilian profile
civilian_profile.html
Incident operations
- Officer feed
officer_feed.html - Admin dashboard
admin_dashboard.html - Insurance portal
insurance_portal.html
Shared services
- Home
index.html - Login
login.html - Firebase configuration
firebase-config.js - Firebase Auth
- Cloud Firestore
- Firebase Storage
- HTTP API
Other components
- Civilian
- Officer
- Administrator
- Insurer
Connections 4
- Firebase configuration → Firebase Auth: initializes
- Firebase configuration → Cloud Firestore: initializes
- Firebase configuration → Firebase Storage: initializes
- Firebase configuration → HTTP API: authenticated fetch