How eskinder-tk/eagles-uni works
This is a Next.js university admissions and student portal. Applicants submit admission details and can check application status; students and instructors sign in to access role-specific portal areas. Student workflows include course registration, enrolled-course review, grades/transcripts, and profile management. The sampled registration action shows eligibility checks and writes to enrollment/course records. Source excerpts and index references support the major routes and service relationships; several unsampled components are included as capabilities indicated by the file tree, with uncertain links omitted.
Main entry points: actions/index.ts Server Actions · session.ts Session Service · db/index.ts Database Client · schema/index.ts Academic Schema
Components 32
Public Admissions
- Admission Form
app/Admission/page.tsx - Admission Status
app/Admission/Status/page.tsx - Admission Success
app/Admission/AdmissionSuccess/page.tsx
Student Portal
- Portal Login
app/Portal/page.tsx - Role Dashboard
app/Portal/Dashboard/page.tsx - Registration Page
app/Portal/Register/Courses/page.tsx - Course Registration
app/Components/CourseRegistrationContent.tsx - Enrolled Courses Page
app/Portal/Enrolled_Courses/page.tsx - Enrolled Courses View
app/Components/EnrolledCoursesClient.tsx - Grades Page
app/Portal/Grades/page.tsx - Transcript View
app/Components/TransciptClient.tsx - Profile Page
app/Portal/Profile/page.tsx - Student Overview
app/Components/StudentProfileOverview.tsx - Profile Editor
app/Components/StudentProfileSettingEditor.tsx - Instructor Dashboard
app/Components/InstructorDashboardClient.tsx - Portal Registration
app/Components/RegisterComponent.tsx
Actions And Identity
- Server Actions
app/actions/index.ts - Admission Actions
app/actions/admissions.ts - Registration Logic
app/actions/handleRegistration.ts - Student Creation
app/actions/createStudent.ts - Instructor Creation
app/actions/createInstructor.ts - Profile Updates
app/actions/updateStudentProfile.ts - Image Upload
app/actions/uploadToVercelBlob.ts - Session Service
lib/session.ts
Academic Data
- Database Client
db/index.ts - Academic Schema
db/schema/index.ts - Enrollment Records
db/schema/enrollments.ts - Student Records
db/schema/students.ts - Instructor Records
db/schema/instructors.ts - Student Courses
db/schema/studentCourses.ts
Other components
- Applicant
- Student
Connections 40
- Applicant → Admission Form: submits application
app/Admission/page.tsx - Admission Form → Server Actions: uploads image
app/Admission/page.tsx - Admission Form → Server Actions: creates application
app/Admission/page.tsx - Admission Form → Admission Success: shows result
app/Admission/page.tsx - Admission Status → Server Actions: checks status
app/Admission/Status/page.tsx - Student → Portal Login: signs in
app/Portal/page.tsx - Portal Login → Server Actions: authenticates
app/Portal/page.tsx - Role Dashboard → Session Service: verifies account
app/Portal/Dashboard/page.tsx - Role Dashboard → Student Overview: renders overview
app/Portal/Dashboard/page.tsx - Role Dashboard → Instructor Dashboard: renders instructor view
app/Portal/Dashboard/page.tsx - Registration Page → Session Service: verifies account
app/Portal/Register/Courses/page.tsx - Registration Page → Course Registration: renders courses
app/Portal/Register/Courses/page.tsx - Course Registration → Server Actions: submits selection
app/Components/CourseRegistrationContent.tsx - Server Actions → Registration Logic: exports action
app/actions/index.ts - Registration Logic → Database Client: checks and writes
app/actions/handleRegistration.ts - Registration Logic → Academic Schema: uses records
app/actions/handleRegistration.ts - Enrolled Courses Page → Session Service: verifies account
app/Portal/Enrolled_Courses/page.tsx - Enrolled Courses Page → Enrolled Courses View: renders courses
app/Portal/Enrolled_Courses/page.tsx - Enrolled Courses Page → Database Client: loads course data
app/Portal/Enrolled_Courses/page.tsx - Grades Page → Session Service: verifies account
app/Portal/Grades/page.tsx - Grades Page → Transcript View: renders transcript
app/Portal/Grades/page.tsx - Grades Page → Database Client: loads grade data
app/Portal/Grades/page.tsx - Profile Page → Session Service: verifies account
app/Portal/Profile/page.tsx - Profile Page → Profile Editor: renders editor
app/Portal/Profile/page.tsx - Profile Editor → Server Actions: updates details
app/Portal/Profile/page.tsx - Server Actions → Profile Updates: exports action
app/actions/index.ts - Profile Updates → Database Client: updates records
app/actions/updateStudentProfile.ts - Profile Updates → Image Upload: uploads image
app/actions/updateStudentProfile.ts - Instructor Creation → Database Client: creates instructor
app/actions/createInstructor.ts - Instructor Creation → Session Service: uses session service
app/actions/createInstructor.ts - Student Creation → Database Client: creates student
app/actions/createStudent.ts - Database Client → Academic Schema: configures schema
db/index.ts - Session Service → Database Client: reads and writes
lib/session.ts - Session Service → Academic Schema: uses session records
lib/session.ts - Academic Schema → Enrollment Records: exports records
db/schema/index.ts - Academic Schema → Student Records: exports records
db/schema/index.ts - Academic Schema → Instructor Records: exports records
db/schema/index.ts - Academic Schema → Student Courses: exports records
db/schema/index.ts - Enrollment Records → Student Records: references students
db/schema/enrollments.ts - Student Records → Student Courses: references courses
db/schema/students.ts