How deleteme0/seating-app works
This is a Next.js exam seating-allocation frontend. Users can continue from the login screen, manage department roll numbers and room capacities, then select data and rooms, auto-assign students, inspect or edit seat selections, and download department-wise seating PDFs. The selection page fetches student and hall data from an external API; the repository contains no backend implementation. The graph reflects shown component calls and fetches; other unsampled behavior is omitted.
Main entry points: selection/page.tsx Selection page · pdfmaker.tsx PDF generator · manage/page.tsx Room and student setup · searchbar.tsx Selection and controls
Components 12
Entry and setup
- Login screen
src/app/page.tsx - Room and student setup
src/app/manage/page.tsx
Seating workflow
- Selection page
src/app/selection/page.tsx - Selection and controls
src/app/selection/searchbar.tsx - Auto seating allocator
src/app/utililties/autoaddem.tsx - Room picker
src/app/selection/showrooms.tsx - Seat display and selection
src/app/selection/displayroom.tsx
Seating export
- PDF generator
src/app/selection/pdfmaker.tsx - Seating PDF
Other components
- User
- Management API
- jsPDF library
Connections 16
- User → Login screen: opens
src/app/page.tsx - Login screen → Selection page: continues to
src/app/page.tsx - User → Room and student setup: opens
src/app/manage/page.tsx - Room and student setup → Management API: posts room and student data
src/app/manage/page.tsx - Room and student setup → Selection page: links to
src/app/manage/page.tsx - Selection page → Management API: fetches rooms and students
src/app/selection/page.tsx - Selection page → Selection and controls: renders
src/app/selection/page.tsx - Selection page → Room picker: renders
src/app/selection/page.tsx - Selection page → PDF generator: renders
src/app/selection/page.tsx - Selection and controls → Auto seating allocator: calls for arrangement
src/app/selection/searchbar.tsx - Room picker → Seat display and selection: renders
src/app/selection/showrooms.tsx - User → Selection and controls: selects and arranges
src/app/selection/searchbar.tsx - User → Seat display and selection: selects seats
src/app/selection/displayroom.tsx - User → PDF generator: requests download
src/app/selection/pdfmaker.tsx - PDF generator → jsPDF library: creates PDF with
src/app/selection/pdfmaker.tsx - PDF generator → Seating PDF: saves
src/app/selection/pdfmaker.tsx