How khushi-070906/ravs works
Research Connect (RAVS) is a role-based research attendance and verification application. Students authenticate, check in and out of lab sessions, submit work evidence, and faculty review those sessions before approved hours contribute to attendance reports. Administrators manage users and lab configuration; related capabilities include presence checks, events, leave, certificates, and a live roster. Supabase provides authentication, database, and storage services. Several feature modules were not sampled, so their links reflect README-documented behavior rather than inspected implementation.
Main entry points: routes/auth.tsx Sign in · client.ts Supabase client · approvals.tsx Faculty approvals · lib/auth.tsx Auth and roles
Components 24
Access and shell
- Sign in
src/routes/auth.tsx - Auth and roles
src/lib/auth.tsx - Protected routes
src/routes/_authenticated/route.tsx - Application shell
src/components/app-shell.tsx
Sessions and presence
- Project workspace
src/routes/_authenticated/projects.$id.tsx - Session timer
src/components/session-widget.tsx - Lab check-in
src/routes/_authenticated/checkin.tsx - Lab presence code
src/routes/presence.$id.tsx - Presence checks
src/lib/presence.ts
Review and attendance
- Faculty approvals
src/routes/_authenticated/approvals.tsx - Time corrections
src/components/time-correction.tsx - Attendance reports
src/routes/_authenticated/attendance.tsx - Research summaries
src/components/research.tsx
Lab operations
- Administration
src/routes/_authenticated/admin.tsx - Events and calendar
src/routes/_authenticated/calendar.tsx - Live roster
src/components/live-roster.tsx - Leave requests
src/components/leave-panel.tsx - Certificates
src/components/certificates.tsx - Certificate verification
src/routes/verify.$code.tsx
Data and services
- Supabase client
src/integrations/supabase/client.ts - Supabase
Other components
- Student
- Faculty
- Head admin
Connections 24
- Student → Sign in: signs in
README.md - Faculty → Sign in: signs in
README.md - Head admin → Sign in: signs in
README.md - Sign in → Supabase client: authenticates with
src/routes/auth.tsx - Auth and roles → Supabase client: loads role and profile
src/lib/auth.tsx - Student → Project workspace: logs research work
README.md - Project workspace → Session timer: provides session timer
- Student → Lab check-in: checks in
README.md - Lab check-in → Lab presence code: uses lab code
README.md - Lab presence code → Presence checks: verifies presence
- Faculty → Faculty approvals: reviews sessions
README.md - Faculty approvals → Time corrections: reviews corrections
README.md - Faculty approvals → Attendance reports: approves hours for
README.md - Attendance reports → Research summaries: presents attendance
- Head admin → Administration: manages users and labs
README.md - Faculty → Events and calendar: manages events
README.md - Faculty → Live roster: monitors checked-in users
README.md - Student → Leave requests: requests leave
README.md - Faculty → Certificates: issues certificates
README.md - Certificates → Certificate verification: provides verification code
README.md - Sign in → Auth and roles: uses auth state
src/routes/auth.tsx - Protected routes → Application shell: renders shell
src/routes/_authenticated/route.tsx - Administration → Supabase client: accesses application data
src/routes/_authenticated/admin.tsx - Supabase client → Supabase: connects to
src/integrations/supabase/client.ts