A comprehensive mental health platform for the Smart India Hackathon, featuring AI-powered psychological screening, counselor booking, peer support forum, and administrative oversight.
- Mobile App: React Native with Expo (iOS/Android)
- Admin Panel: React.js with Vite (Web Dashboard)
- Backend API: Node.js with Express
- Database: MongoDB with Mongoose ODM
- AI Integration: Google Gemini API for chat and screening analysis
- User Authentication (Login/Signup/Guest)
- AI-Powered Chat Support with Crisis Detection
- Comprehensive Psychological Screening (PHQ-9, GAD-7, GHQ-12)
- Counselor Booking System
- Resources Hub with Filtering
- Anonymous Peer Support Forum
- Daily Mood Tracking
- Profile Management
- Real-time Analytics Dashboard
- User Management & Monitoring
- Booking Oversight & Scheduling
- Forum Moderation Tools
- Crisis Alert Management
- Resource Content Management
- System Health Monitoring
- JWT Authentication & Authorization
- AI Chat with Gemini Integration
- Psychological Screening Analysis
- Booking Management System
- Forum with Moderation
- Resource Management
- Analytics & Reporting
- Crisis Detection & Alerts
- Node.js (v16+)
- MongoDB
- Expo CLI
- Google Gemini API Key
```env PORT=5000 MONGO_URI=mongodb://localhost:27017/digital-psych JWT_ACCESS_SECRET=your-jwt-secret GEMINI_API_KEY=your-gemini-api-key ```
```bash cd backend npm install npm run dev ```
```bash cd mobile-app npm install expo start ```
```bash cd admin-panel npm install npm run dev ```
POST /api/auth/register- User registrationPOST /api/auth/login- User loginPOST /api/auth/guest- Guest login
POST /api/ai/chat- Send message to AIGET /api/ai/sessions/:userId- Get chat history
POST /api/screening/submit- Submit screening responsesGET /api/screening/history/:userId- Get screening historyGET /api/screening/analytics- Get screening analytics
POST /api/bookings/create- Create bookingGET /api/bookings/user/:userId- Get user bookingsGET /api/bookings/counselor/:counselorId- Get counselor bookings
POST /api/forum/posts- Create forum postGET /api/forum/posts- Get forum postsPOST /api/forum/posts/:id/reply- Reply to post
GET /api/resources- Get all resourcesGET /api/resources/category/:category- Get resources by category
GET /api/admin/analytics- Get system analyticsGET /api/admin/users- Get all usersPOST /api/admin/moderate- Moderate content
- JWT Token Authentication
- Password Hashing with bcrypt
- Input Validation & Sanitization
- Rate Limiting
- CORS Protection
- Anonymous Forum Posting
- Data Encryption
- AI-Powered Crisis Detection: Real-time analysis of user messages for crisis intervention
- Multi-Modal Screening: Combines PHQ-9, GAD-7, and GHQ-12 for comprehensive assessment
- Anonymous Peer Support: Safe space for users to share experiences
- Predictive Analytics: Early warning system for mental health deterioration
- Integrated Care Pathway: Seamless transition from screening to professional help
- User Engagement Tracking
- Screening Completion Rates
- Crisis Intervention Success
- Counselor Booking Analytics
- Forum Participation Metrics
- Resource Utilization Data
- Scalable Architecture: Microservices-ready design
- Real-time Features: Live chat and notifications
- Data-Driven Insights: Comprehensive analytics dashboard
- User-Centric Design: Intuitive mobile-first interface
- Professional Integration: Counselor portal and booking system
- Crisis Management: Automated detection and intervention protocols
For technical support or questions about the Digital Psychological Intervention System, please contact the development team.
Built for Smart India Hackathon - Empowering Mental Health Through Technology