How aayans314/dali-submission works
Reunite is a shelter check-in and family-reunification system. Volunteers look up or register people, track shelter stays, flag and merge duplicate records, and file searches for people who may lack phones. Search candidates are scored across names, age, and home area; a person’s consent governs what is shared, with coordinator approval for minors. The graph focuses on the expanded reunite/ application and also represents the parallel root-level client and server packages. Some subsystem links are documented rather than shown in sampled implementation, so those links are dashed.
Main entry points: index.js HTTP API · App.jsx Reunite web app · api.js API client · persons.js Person operations
Components 32
Web application
- Reunite web app
reunite/client/src/App.jsx - Intake and records
reunite/client/src/pages/CheckIn.jsx - Person history
reunite/client/src/pages/PersonPage.jsx - Family search
reunite/client/src/components/SearchForm.jsx - Public search home
reunite/client/src/pages/PublicHome.jsx - Consent decisions
reunite/client/src/pages/Matches.jsx - Duplicate review
reunite/client/src/pages/Duplicates.jsx - Staff accounts
reunite/client/src/pages/Team.jsx - API client
reunite/client/src/api.js - Root web app
client/src/App.jsx - Root API client
client/src/api.js
API and domain
- HTTP API
reunite/server/src/index.js - Authentication routes
reunite/server/src/routes/auth.js - Person routes
reunite/server/src/routes/persons.js - Search routes
reunite/server/src/routes/searches.js - Duplicate routes
reunite/server/src/routes/duplicates.js - Staff routes
reunite/server/src/routes/staff.js - Shelter routes
reunite/server/src/routes/shelters.js - Token authorization
reunite/server/src/auth.js - Search matching
reunite/server/src/lib/searches.js - Candidate scoring
reunite/server/src/lib/matching.js - Name matching
reunite/server/src/lib/names.js - Person operations
reunite/server/src/lib/persons.js - Root HTTP API
server/src/index.js - Root authorization
server/src/auth.js - Root name matching
server/src/lib/names.js - Root person operations
server/src/lib/persons.js
Persistence
- PostgreSQL
reunite/server/src/db.js - Root PostgreSQL
server/src/db.js
Other components
- Shelter volunteer
- Family searcher
- Coordinator
Connections 39
- Shelter volunteer → Intake and records: checks in
- Shelter volunteer → Duplicate review: reviews merges
- Shelter volunteer → Person history: manages stays
- Family searcher → Public search home: starts search
- Coordinator → Consent decisions: approves minors
- Coordinator → Staff accounts: manages staff
- Reunite web app → Intake and records: routes to
reunite/client/src/App.jsx - Reunite web app → Person history: routes to
reunite/client/src/App.jsx - Reunite web app → Public search home: routes to
reunite/client/src/App.jsx - Reunite web app → Consent decisions: routes to
reunite/client/src/App.jsx - Reunite web app → Duplicate review: routes to
reunite/client/src/App.jsx - Reunite web app → Staff accounts: routes to
reunite/client/src/App.jsx - Public search home → Family search: presents search
- Intake and records → API client: calls API
reunite/client/src/pages/CheckIn.jsx - Person history → API client: calls API
reunite/client/src/pages/PersonPage.jsx - Family search → API client: submits search
- Consent decisions → API client: loads decisions
- Duplicate review → API client: calls API
- Staff accounts → API client: calls API
- API client → HTTP API: sends requests
- HTTP API → Authentication routes: mounts routes
- HTTP API → Person routes: mounts routes
- HTTP API → Search routes: mounts routes
- HTTP API → Duplicate routes: mounts routes
- HTTP API → Staff routes: mounts routes
- HTTP API → Shelter routes: mounts routes
- Authentication routes → Token authorization: issues tokens
reunite/server/src/routes/auth.js - Authentication routes → PostgreSQL: reads and writes
reunite/server/src/routes/auth.js - Search routes → Search matching: delegates search
reunite/server/src/routes/searches.js - Search matching → Person operations: validates person data
reunite/server/src/lib/searches.js - Search matching → Candidate scoring: scores candidates
reunite/server/src/lib/searches.js - Candidate scoring → Name matching: uses name scores
- Person routes → Person operations: delegates operations
- Duplicate routes → Person operations: merges records
- Person operations → Name matching: uses name keys
- Root web app → Root API client: uses API client
- Root HTTP API → Root authorization: configures auth
- Root authorization → Root PostgreSQL: checks staff
server/src/auth.js - Root person operations → Root name matching: uses name matching
server/src/lib/persons.js