How korie93/sumbanganqueryrahmah works
SQR is a role-based contribution-management platform. Users enter through the React client, authenticate, then manage collection records and receipts, imports, searches, and reports; administrators also manage accounts and operational settings. The client communicates with the Express API, whose services and repositories persist domain data in PostgreSQL. AI search and real-time notifications are additional capabilities. The supplied excerpts show portions of search, import, receipt handling, and WebSocket runtime; several other feature links are documented only at a high level in the README, so those relationships are cited there.
Main entry points: local-http-pipeline.ts Express API · main.tsx React application · postgres-storage-core.ts PostgreSQL storage · AuthEntry.tsx Authentication UI
Components 23
Client experience
- React application
client/src/main.tsx - Authentication UI
client/src/pages/AuthEntry.tsx - Collection records
client/src/pages/collection-records/useCollectionRecordsController.ts - Import workflows
client/src/pages/Import.tsx - Search and saved
client/src/pages/GeneralSearch.tsx - Analytics and reports
client/src/pages/Analysis.tsx - AI search experience
client/src/pages/ai/useAIPageController.ts - Account administration
client/src/pages/Settings.tsx
API and domain
- Express API
server/internal/local-http-pipeline.ts - Authentication services
server/services/auth-account.service.ts - Import processing
server/controllers/imports.controller.ts - Search service
server/services/search.service.ts - Collection services
server/services/collection/collection-record.service.ts - Analytics and reporting
Persistence
- Search repository
server/repositories/search.repository.ts - PostgreSQL storage
server/storage/postgres/postgres-storage-core.ts - Domain schema
shared/schema-postgres.ts
Operations and intelligence
- System monitoring
client/src/pages/Monitor.tsx - Live notifications
server/ws/runtime-manager.ts - AI search service
server/services/ai-search.service.ts
Other components
- Platform user
- PostgreSQL
- Ollama
Connections 29
- Platform user → React application: uses
README.md - React application → Authentication UI: presents
README.md - React application → Collection records: presents
README.md - React application → Import workflows: presents
README.md - React application → Search and saved: presents
README.md - React application → Analytics and reports: presents
README.md - React application → AI search experience: presents
README.md - React application → Account administration: presents
README.md - React application → System monitoring: presents
README.md - Authentication UI → Express API: authenticates via
- Collection records → Express API: requests records
- Import workflows → Express API: uploads data
- Search and saved → Express API: queries
- Analytics and reports → Express API: requests reports
- AI search experience → Express API: submits questions
- Account administration → Express API: manages accounts
- Express API → Import processing: routes imports
- Express API → Authentication services: routes authentication
- Express API → Collection services: routes collection
- Express API → Search service: routes search
- Express API → Analytics and reporting: serves analytics
- Import processing → PostgreSQL storage: persists imports
- Collection services → PostgreSQL storage: persists records
- Search service → Search repository: queries
server/services/search.service.ts - Search repository → PostgreSQL: reads data
server/repositories/search.repository.ts - PostgreSQL storage → PostgreSQL: persists domain data
- PostgreSQL storage → Domain schema: uses schema
- AI search service → Ollama: uses model
README.md - React application → Live notifications: receives notifications
README.md