A comprehensive digital mental health and psychological support system for university students.
- Student Dashboard: Personalized mental health tracking and resources
- AI Companion: 24/7 intelligent chatbot with multilingual support
- Peer Support: Anonymous community chat and group sessions
- Professional Counseling: Book appointments with licensed counselors
- Assessment Tools: PHQ-9 and GAD-7 mental health assessments
- Admin Panel: Comprehensive system management and analytics
- Mood Tracking: Global mood context with personalized insights
- Data Visualization: Real-time analytics and reporting
- Frontend: React, Vite, SCSS, React Router
- Backend: Node.js, Express, MongoDB, JWT
- AI Integration: Google Gemini API
- Authentication: JWT-based auth system
- Database: MongoDB with comprehensive data models
cd Frontend
npm install
npm run devcd Backend
npm install
npm run devcd Backend
npm run seed # Populate database with sample dataCreate a .env file in the Backend directory with:
JWT_SECRET=your_jwt_secret_here
MONGO_URI=your_mongodb_connection_string
GEMINI_API_KEY=your_gemini_api_key
- User: Students, counselors, and admins
- Appointment: Counseling session bookings
- Feedback: Session ratings and comments
- ChatSession: AI, peer, and counselor chat interactions
- Assessment: PHQ-9 and GAD-7 mental health assessments
- SystemLog: System activity and error tracking
POST /api/auth/login- User authenticationPOST /api/auth/register- User registration
POST /api/appointments/book- Book counseling appointment
POST /api/feedback/submit- Submit session feedback
POST /api/ai/chat- AI chat interaction
GET /api/analytics/overview- Dashboard overview statisticsGET /api/analytics/users/trends- User registration trendsGET /api/analytics/chat/analytics- Chat session analyticsGET /api/analytics/assessments/analytics- Assessment analyticsGET /api/analytics/appointments/analytics- Appointment analyticsGET /api/analytics/system/health- System health metricsGET /api/analytics/activity/feed- Real-time activity feed
- Student:
student@university.edu/admin123 - Admin:
admin/admin123
- Real-time Metrics: User counts, session statistics, ratings
- Interactive Charts: Session types, mood distribution, severity levels
- Trend Analysis: User growth, assessment patterns, appointment trends
- System Monitoring: Error tracking, performance metrics, activity logs
- Satisfaction Tracking: Star ratings and feedback analysis
- Overview Statistics: Key performance indicators
- User Management: Student and counselor administration
- Case Monitoring: Track counseling sessions and outcomes
- Reports & Analytics: Comprehensive data visualization
- System Health: Monitor system performance and errors
- Activity Feed: Real-time system activity tracking
/- Student landing page/student/dashboard- Student dashboard/student/assessment- Mental health assessments/student/support- Support options chooser/student/self-help,/student/peer,/student/counselor,/student/feedback,/student/crisis/admin- Admin login/admin/dashboard- Admin dashboard with analytics
- Header has a single Admin button that routes to admin login if logged out; after login it routes to admin dashboard
- Status pills were removed from header and moved into the admin dashboard
- Responsive design with mobile-first approach
- Dark theme throughout the application
- Real-time data visualization in admin panel
HopeLine: An Application for Development of a Digital Mental Health and Psychological Support System for Students in Higher Education
By Team Verbose(0)