How manishdev0103/mentorconnect---student-mentorship-platform works
MentorConnect is a student–mentor platform with role-based registration, mentor discovery, booked sessions, learning tools, messaging, and administration. The main user path is through the routed client: students or mentors register or sign in, then use their role-specific areas; students can browse mentors and manage sessions. The Java backend provides domain APIs, while a separate .NET payment service connects to Razorpay and notifies the backend. The tree and excerpts support these major capabilities, but many feature-specific calls were not sampled, so those links are omitted or marked unverified.
Main entry points: PaymentController.cs Payment controller · App.jsx Route application · MCQPracticeSessionService.java Practice sessions · StudentRegister.jsx Student signup
Components 24
Web client
- Route application
client/src/App.jsx - Mentor discovery
client/src/pages/MentorListing/MentorListing.jsx - Student signup
client/src/pages/Register/StudentRegister.jsx - Mentor signup
client/src/pages/Register/MentorRegister.jsx - API client
client/src/API/api.js
Identity and access
- Auth client
client/src/API/authService.js - Authentication API
server/MentorshipBackend/src/main/java/com/mentorship/controller/AuthController.java - Authentication service
server/MentorshipBackend/src/main/java/com/mentorship/service/AuthService.java - User details loader
server/MentorshipBackend/src/main/java/com/mentorship/security/CustomUserDetailsService.java - Data repositories
server/MentorshipBackend/src/main/java/com/mentorship/repository
Mentorship services
- Student API
server/MentorshipBackend/src/main/java/com/mentorship/controller/StudentController.java - Student services
server/MentorshipBackend/src/main/java/com/mentorship/service/StudentService.java - Session services
server/MentorshipBackend/src/main/java/com/mentorship/service/SessionService.java - Mentorship domain
server/MentorshipBackend/src/main/java/com/mentorship/entities
Learning and communication
- Practice sessions
server/MentorshipBackend/src/main/java/com/mentorship/service/MCQPracticeSessionService.java - Practice storage
server/MentorshipBackend/src/main/java/com/mentorship/repository/MCQPracticeSessionRepository.java - Messaging API
server/MentorshipBackend/src/main/java/com/mentorship/controller/MessageController.java
Payments
- Payment controller
PaymentService/Controllers/PaymentController.cs - Subscription store
PaymentService/Data/PaymentDbContext.cs
Other components
- Student
- Mentor
- Administrator
- Razorpay
- Mentorship backend
Connections 23
- Route application → Mentor discovery: routes to
client/src/App.jsx - Route application → Student signup: routes to
client/src/App.jsx - Route application → Mentor signup: routes to
client/src/App.jsx - Student signup → Auth client: uses
- Mentor signup → Auth client: uses
- Auth client → API client: sends requests
client/src/API/authService.js - Student → Student signup: registers
- Mentor → Mentor signup: registers
- Administrator → Route application: uses routes
- User details loader → Data repositories: loads identity
server/MentorshipBackend/src/main/java/com/mentorship/security/CustomUserDetailsService.java - Student API → Student services: delegates
server/MentorshipBackend/src/main/java/com/mentorship/controller/StudentController.java - Student API → Practice sessions: queries practice
server/MentorshipBackend/src/main/java/com/mentorship/controller/StudentController.java - Student services → Mentorship domain: uses domain
- Session services → Mentorship domain: uses domain
- Practice sessions → Practice storage: reads and saves
server/MentorshipBackend/src/main/java/com/mentorship/service/MCQPracticeSessionService.java - Practice sessions → Data repositories: loads participants
server/MentorshipBackend/src/main/java/com/mentorship/service/MCQPracticeSessionService.java - Student → Mentor discovery: browses
- Mentor → Messaging API: messages
- Student → Payment controller: pays
- Payment controller → Razorpay: creates orders
PaymentService/Controllers/PaymentController.cs - Payment controller → Subscription store: saves subscription
PaymentService/Controllers/PaymentController.cs - Payment controller → Mentorship backend: notifies session
PaymentService/Controllers/PaymentController.cs - Payment controller → Mentorship backend: notifies subscription
PaymentService/Controllers/PaymentController.cs