How atharv074/civic-pulse-gis works
Civic Pulse GIS is a civic-issue reporting and administration app. Residents choose a map location, submit an issue with optional image, and can explore reported issues; administrators log in and update issue status. The client’s API calls and server routes are shown separately because the excerpts do not establish how their base URLs align. The server excerpt documents MongoDB persistence and local image uploads; the UI also uses OpenStreetMap tiles. The map and main interface share one client file, so those responsibilities point to the same path.
Main entry points: App.jsx Reporting interface · index.js Issue endpoints
Components 13
Civic reporting client
- Reporting interface
client/src/App.jsx - Location selection
client/src/App.jsx
Issue API
- Issue endpoints
server/index.js - Admin login
server/index.js - Status update
server/index.js - Token verification
server/index.js
Persistence and media
- Issue records
server/index.js - Admin records
server/index.js - Image uploads
server/index.js
External services
- MongoDB
- OpenStreetMap tiles
Other components
- Resident
- Administrator
Connections 14
- Resident → Reporting interface: uses
client/src/App.jsx - Administrator → Reporting interface: uses
client/src/App.jsx - Reporting interface → Location selection: selects location
client/src/App.jsx - Reporting interface → Issue endpoints: requests issues
- Reporting interface → Admin login: posts login
client/src/App.jsx - Reporting interface → Status update: patches status
client/src/App.jsx - Reporting interface → OpenStreetMap tiles: loads tiles
client/src/App.jsx - Issue endpoints → Issue records: finds and saves
server/index.js - Issue endpoints → Image uploads: stores image
server/index.js - Admin login → Admin records: finds admin
server/index.js - Status update → Token verification: verifies token
server/index.js - Status update → Issue records: updates status
server/index.js - Issue records → MongoDB: persists in
server/index.js - Admin records → MongoDB: persists in
server/index.js