How byrohithreddy/i-r-o-n works
I.R.O.N. is a campus recruitment operations platform. Students discover drives and apply; TPO staff maintain student records and configure drives; coordinators batch candidates; HR evaluates rounds and final selections become placement records. The client uses a shared storage/API layer, with Cloudflare Pages and D1 documented as the production backend and a Node/SQLite server as the local runtime. Some workflow details and service connections are documented in the README but their implementation was not sampled, so those links are cited to the README.
Main entry points: storage.ts Client data layer · App.tsx Role-based app · HrEvaluationView.tsx HR evaluation · PublicHome.tsx Public drive portal
Components 19
Web client
- Role-based app
src/App.tsx - Public drive portal
src/components/public/PublicHome.tsx
Recruitment operations
- Student applications
src/components/public/StudentApplyModal.tsx - Student master
src/components/tpo/TpoStudentMaster.tsx - Drive configuration
src/components/tpo/TpoDrives.tsx - Candidate batching
src/components/coordinator/CoordinatorView.tsx - HR evaluation
src/components/hr/HrEvaluationView.tsx
Reporting and lifecycle
- Placement records
src/components/tpo/TpoPlacedStudents.tsx - Drive analytics
src/components/tpo/TpoDriveAnalytics.tsx - Drive expiry archive
src/components/tpo/TpoDataExpiry.tsx - Spreadsheet export
src/services/excelExport.ts
API and persistence
- Client data layer
src/services/storage.ts - API client
src/services/api.ts - Pages API handler
functions/api/[[route]].ts - Local API server
server.ts - API routes
src/server/routes.ts - Database access
src/server/db.ts - Cloudflare D1
schema.sql
Other components
- Students and staff
Connections 24
- Students and staff → Role-based app: use
README.md - Role-based app → Public drive portal: routes to
src/App.tsx - Role-based app → Student master: routes to
src/App.tsx - Role-based app → Drive configuration: routes to
src/App.tsx - Role-based app → Candidate batching: routes to
src/App.tsx - Role-based app → HR evaluation: routes to
src/App.tsx - Public drive portal → Student applications: opens
src/components/public/PublicHome.tsx - Public drive portal → Client data layer: reads drives
src/components/public/PublicHome.tsx - Student applications → Client data layer: submits application
src/components/public/StudentApplyModal.tsx - Student master → Client data layer: manages records
src/components/tpo/TpoStudentMaster.tsx - Drive configuration → Client data layer: manages drives
src/components/tpo/TpoDrives.tsx - Candidate batching → Client data layer: manages batches
src/components/coordinator/CoordinatorView.tsx - HR evaluation → Client data layer: saves evaluations
src/components/hr/HrEvaluationView.tsx - Placement records → Client data layer: reads placements
src/components/tpo/TpoPlacedStudents.tsx - Drive analytics → Client data layer: reads metrics
src/components/tpo/TpoDriveAnalytics.tsx - Drive analytics → Spreadsheet export: exports reports
src/components/tpo/TpoDriveAnalytics.tsx - Drive expiry archive → Client data layer: archives drives
src/components/tpo/TpoDataExpiry.tsx - Client data layer → API client: calls
src/services/storage.ts - API client → Pages API handler: requests
README.md - Pages API handler → Cloudflare D1: uses
README.md - Local API server → API routes: mounts
server.ts - API routes → Database access: queries
src/server/routes.ts - Candidate batching → HR evaluation: hands off candidates
README.md - HR evaluation → Placement records: records final selections
README.md