How kaviee31/review-desk works
Review Desk is a role-based academic project-review application. Users sign in and enter student, teacher, coordinator, HOD, or admin workflows; these cover enrollment, student and project oversight, panel reviews, marks, reports, and announcements. The React app routes role-protected pages, while its components use Firebase and the Express backend for data and operations. The backend also persists Telegram links and supports a Telegram bot. Several capabilities are indicated by component names and imports, but their internal behavior was not sampled; those links are not expanded beyond documented routing and shown calls.
Main entry points: App.jsx Routes and Roles · server.js Express API · TeacherDashboard.jsx Teacher Dashboard · telegramBot.js Telegram Bot
Components 22
Web Application
- Routes and Roles
frontend/src/App.jsx - Active Role
frontend/src/contexts/RoleContext.jsx - Sign In and Signup
frontend/src/components/Login.jsx
Academic Workflows
- Student Dashboard
frontend/src/components/StudentDashboard.jsx - Student Courses
frontend/src/components/StudentCourses.jsx - Teacher Dashboard
frontend/src/components/TeacherDashboard.jsx - Enrollment and Reviews
frontend/src/components/EnrolledStudents.jsx - Panel Reviews
frontend/src/components/PanelReviewPage.jsx - Coordinator Dashboard
frontend/src/components/CoordinatorDashboard.jsx - Coordinator Students
frontend/src/components/CoordinatorStudentsView.jsx - HOD Dashboard
frontend/src/components/HODDashboard.jsx - Admin Dashboard
frontend/src/components/AdminDashboard.jsx - Panel Management
frontend/src/components/AdminPanelManagement.jsx - Reports
frontend/src/components/ReportPage.jsx
Backend Services
- Firebase Auth and Firestore
frontend/src/firebase.js - Express API
backend/server.js - MongoDB Records
backend/server.js
Messaging
- Telegram Link Record
backend/models/ChatUser.js - Telegram Bot
backend/telegramBot.js
Other components
- User
- Telegram
- EmailJS
Connections 25
- User → Routes and Roles: opens
frontend/src/App.jsx - Routes and Roles → Sign In and Signup: routes to
frontend/src/App.jsx - Routes and Roles → Student Dashboard: routes to
frontend/src/App.jsx - Routes and Roles → Student Courses: routes to
frontend/src/App.jsx - Routes and Roles → Teacher Dashboard: routes to
frontend/src/App.jsx - Routes and Roles → Enrollment and Reviews: routes to
frontend/src/App.jsx - Routes and Roles → Panel Reviews: routes to
frontend/src/App.jsx - Routes and Roles → Coordinator Dashboard: routes to
frontend/src/App.jsx - Routes and Roles → Coordinator Students: routes to
frontend/src/App.jsx - Routes and Roles → HOD Dashboard: routes to
frontend/src/App.jsx - Routes and Roles → Admin Dashboard: routes to
frontend/src/App.jsx - Routes and Roles → Panel Management: routes to
frontend/src/App.jsx - Routes and Roles → Reports: routes to
frontend/src/App.jsx - Sign In and Signup → Firebase Auth and Firestore: authenticates with
frontend/src/components/Login.jsx - Active Role → Firebase Auth and Firestore: persists role
frontend/src/contexts/RoleContext.jsx - Teacher Dashboard → Express API: fetches courses
frontend/src/components/TeacherDashboard.jsx - Teacher Dashboard → EmailJS: sends announcements
frontend/src/components/TeacherDashboard.jsx - Teacher Dashboard → Telegram: sends announcements
frontend/src/components/TeacherDashboard.jsx - Enrollment and Reviews → Express API: loads and updates
frontend/src/components/EnrolledStudents.jsx - Panel Reviews → Express API: loads and saves marks
frontend/src/components/PanelReviewPage.jsx - Express API → MongoDB Records: reads and writes
backend/server.js - Express API → Telegram Link Record: saves chat links
backend/server.js - Telegram Bot → Express API: links chat ID
backend/telegramBot.js - User → Telegram Bot: messages
backend/telegramBot.js - Telegram Bot → Telegram: polls and replies
backend/telegramBot.js