How jayant134/ston-assignment-jayant works
STON Placement App is a student-facing placement-drive mobile app. Students log in, browse and filter drives by eligibility, inspect a drive and apply, then review application statuses and open a QR admit card. The app uses local mock student/drive data and React Context for shared applied state; the separate Express mock API provides equivalent server endpoints but the README says the mobile app does not call it. Screen-level detail and admit-card wiring are represented from documented features; those screen implementations were not sampled.
Main entry points: AppNavigator.js Screen Navigation · DriveListScreen.js Drive Listing · MyApplicationsScreen.js My Applications · AppContext.js Application State
Components 17
Mobile App
- App Root
App.js - Screen Navigation
src/navigation/AppNavigator.js - Login
src/screens/LoginScreen.js - Drive Listing
src/screens/DriveListScreen.js - Drive Detail
src/screens/DriveDetailScreen.js - My Applications
src/screens/MyApplicationsScreen.js - QR Admit Card
src/screens/AdmitCardScreen.js
Placement Domain
- Eligibility Rules
src/utils/eligibilityUtils.js - Mock Drives
src/data/mockDrives.js - Mock Student
src/data/mockStudent.js - Application State
src/context/AppContext.js - Drive Card
src/components/DriveCard.js - Eligibility Badge
src/components/EligibilityTag.js - Status Badge
src/components/StatusBadge.js
Mock API
- Express API
server/index.js - Server Drive Data
server/data/drives.json
Other components
- Student
Connections 23
- App Root → Application State: provides state
- App Root → Screen Navigation: renders
- Student → Login: enters credentials
- Screen Navigation → Login: starts at
- Login → Screen Navigation: opens drives
- Screen Navigation → Drive Listing: routes to
- Drive Listing → Mock Drives: reads drives
- Drive Listing → Mock Student: reads student
- Drive Listing → Eligibility Rules: checks eligibility
- Drive Listing → Application State: reads applications
- Drive Listing → Drive Card: renders cards
- Drive Card → Eligibility Badge: shows status
- Drive Listing → Screen Navigation: opens detail
- Screen Navigation → Drive Detail: routes to
- Drive Detail → Eligibility Rules: checks eligibility
- Drive Detail → Application State: applies drive
- Drive Listing → Screen Navigation: opens applications
- Screen Navigation → My Applications: routes to
- My Applications → Application State: reads applications
- My Applications → Status Badge: shows status
- My Applications → Screen Navigation: opens admit card
- Screen Navigation → QR Admit Card: routes to
- Express API → Server Drive Data: reads drives