How sanjith-ux/autograder-lab-submission-portal works
LabTrack is an initial React portal frontend: users select a student or lecturer role, enter email and password, and reach a role-specific placeholder dashboard. The sampled code implements client-side form validation and route selection only; it shows no authentication service, persistence, or implemented lab workflows. The README mentions schedules, submissions, attendance, and feedback as intended portal capabilities, but they are not present in this slice. Edges reflect sampled imports and routing; no backend or external service is evidenced.
Main entry points: App.jsx Route dispatch · LoginPage.jsx Sign-in form · main.jsx React mount · RoleSelector.jsx Role selector
Components 6
Frontend entry
- React mount
FrontEnd/src/main.jsx - Route dispatch
FrontEnd/src/App.jsx
Sign-in flow
- Sign-in form
FrontEnd/src/pages/LoginPage.jsx - Role selector
FrontEnd/src/components/RoleSelector.jsx
Role dashboards
- Placeholder dashboard
FrontEnd/src/pages/DashboardPage.jsx
Other components
- Portal user
Connections 6
- Portal user → Sign-in form: enters credentials
FrontEnd/src/pages/LoginPage.jsx - React mount → Route dispatch: renders
FrontEnd/src/main.jsx - Route dispatch → Sign-in form: routes sign-in
FrontEnd/src/App.jsx - Sign-in form → Role selector: renders selector
FrontEnd/src/pages/LoginPage.jsx - Sign-in form → Route dispatch: navigates by role
FrontEnd/src/pages/LoginPage.jsx - Route dispatch → Placeholder dashboard: routes dashboards
FrontEnd/src/App.jsx