How strob3/panataanph-hackathon-2026 works
PanataanPH is a verified directory for Philippine relief drives, combining private organizer submissions with human review before publication. The principal workflow runs from organizer registration and evidence submission through reviewer assessment and approval, then to public campaign discovery and fund transparency. Reviewer account verification and organizer fund reports are additional workflows; document extraction is an internal, optional aid, not an approval mechanism. The README describes several integrated capabilities whose route-level implementation was not sampled, so those connections are documented at the API boundary rather than inferred from unsampled code.
Main entry points: main.py FastAPI routes · App.tsx Application shell · api.ts Campaign API client · pipeline.py Document extraction
Components 23
Web experience
- Application shell
frontend/src/App.tsx - Sign in and register
frontend/src/components/AuthPages.tsx - Campaign directory and report
frontend/src/components/IntegratedPages.tsx - Campaign submission
frontend/src/components/IntegratedPages.tsx - Reviewer workspace
frontend/src/components/AdminPage.tsx - Organizer dashboard
frontend/src/components/ProfilePage.tsx - Campaign API client
frontend/src/lib/api.ts - Account API client
frontend/src/lib/accountApi.ts
API workflows
- FastAPI routes
src/backend/main.py - Accounts and sessions
src/backend/auth.py
Review and evidence
- Campaign review
src/backend/admin.py - Evidence scoring
src/backend/services/scoring.py - Document extraction
src/backend/services/pipeline.py - Text extraction
src/backend/services/ocr.py - Local field extraction
src/backend/services/llm.py
Persistence and identity
- Data operations
src/backend/crud.py - Domain records
src/backend/models.py - SQLite database
src/backend/database.py - Private file storage
src/backend/main.py
Other components
- Public visitor
- Organizer
- Reviewer
- Local Ollama
Connections 34
- Public visitor → Application shell: browses
README.md - Organizer → Application shell: submits
README.md - Reviewer → Application shell: reviews
README.md - Application shell → Sign in and register: renders
frontend/src/App.tsx - Application shell → Campaign directory and report: renders
frontend/src/App.tsx - Application shell → Campaign submission: renders
frontend/src/App.tsx - Application shell → Reviewer workspace: routes to
frontend/src/App.tsx - Application shell → Organizer dashboard: routes to
frontend/src/App.tsx - Sign in and register → Account API client: calls
frontend/src/components/AuthPages.tsx - Reviewer workspace → Account API client: calls
frontend/src/components/AdminPage.tsx - Organizer dashboard → Campaign API client: calls
frontend/src/components/ProfilePage.tsx - Campaign directory and report → Campaign API client: calls
frontend/src/components/IntegratedPages.tsx - Campaign submission → Campaign API client: calls
frontend/src/components/IntegratedPages.tsx - Campaign API client → FastAPI routes: requests
frontend/src/lib/api.ts - Account API client → FastAPI routes: requests
frontend/src/lib/accountApi.ts - FastAPI routes → Data operations: calls
src/backend/main.py - FastAPI routes → Accounts and sessions: uses
src/backend/main.py - FastAPI routes → Campaign review: dispatches
src/backend/main.py - FastAPI routes → Document extraction: dispatches
src/backend/main.py - FastAPI routes → Private file storage: stores files
README.md - Campaign review → Evidence scoring: scores
src/backend/admin.py - Campaign review → Data operations: calls
src/backend/admin.py - Document extraction → Text extraction: extracts text
src/backend/services/pipeline.py - Document extraction → Local field extraction: extracts fields
src/backend/services/pipeline.py - Document extraction → Data operations: saves results
src/backend/services/pipeline.py - Local field extraction → Local Ollama: requests inference
src/backend/services/llm.py - Data operations → SQLite database: reads and writes
src/backend/crud.py - SQLite database → Domain records: initializes tables
src/backend/database.py - Accounts and sessions → SQLite database: uses sessions
src/backend/auth.py - Accounts and sessions → Domain records: reads and writes
src/backend/auth.py - Campaign API client → FastAPI routes: loads public data
README.md - FastAPI routes → Campaign review: supports review queue
README.md - Organizer dashboard → FastAPI routes: loads fund reports
README.md - Reviewer workspace → FastAPI routes: reviews fund reports
README.md