A comprehensive mental health and wellbeing platform designed specifically for individuals living with dissociative disorders. Built with modern web technologies to provide a safe, supportive, and feature-rich environment for managing mental health challenges.
Dissociative Support is a specialized digital platform that offers multiple tools and resources to help individuals with dissociative disorders manage their daily lives, track their wellbeing, and maintain their support networks. The platform combines evidence-based therapeutic techniques with modern technology to provide accessible mental health support.
- Daily mood logging with 1-10 scale
- Personal journal entries with timestamp tracking
- Visual mood trends and patterns
- Secure, private data storage
- Store trusted emergency contacts
- Automated notifications when user signs in (requires setup)
- Email alerts for support network activation
- Contact information management
- 24/7 AI wellbeing assistant
- Conversational support for immediate help
- Crisis intervention guidance
- Mental health coping strategies
- 5-4-3-2-1 sensory grounding exercise
- Physical grounding methods
- Mental grounding strategies
- Evidence-based dissociation management
- Interactive box breathing (4-4-4-4)
- Guided breathing sessions
- Visual breathing indicators
- Customizable session durations
- Concentration building exercises
- Mindful observation practice
- Breath counting techniques
- Focus timer with multiple durations
- Progressive muscle relaxation
- Visualization techniques
- Gratitude practice exercises
- Multi-category stress management tools
- Dark/light theme support
- Responsive design for all devices
- Accessible UI/UX design
- Intuitive navigation with sidebar
- Beautiful, calming color schemes
- WorkOS AuthKit integration
- Secure session management
- Protected routes and middleware
- User data privacy protection
- Framework: Next.js 15 with App Router
- Language: TypeScript for type safety
- Styling: Tailwind CSS with custom design system
- UI Components: React with modern hooks
- State Management: React state with Convex real-time updates
- Database & Backend: Convex (real-time database, serverless functions)
- Authentication: WorkOS AuthKit
- Email Service: Resend for notifications
- AI Integration: OpenAI API for chat support
- Real-time Updates: Convex subscriptions for live data
- Type Safety: Full TypeScript implementation
- Serverless: No server management required
- Scalable: Auto-scaling cloud infrastructure
- Secure: End-to-end data encryption
- Node.js 18+ and npm
- A code editor (VS Code recommended)
- Git for version control
# Clone the repository
git clone <repository-url>
cd dissociative-support
# Install dependencies
npm install# Copy environment template
cp .env.local.example .env.localEdit .env.local with your configuration:
# WorkOS AuthKit Configuration
WORKOS_CLIENT_ID=your_client_id_here
WORKOS_API_KEY=your_api_key_here
WORKOS_COOKIE_PASSWORD=your_secure_password_here
NEXT_PUBLIC_WORKOS_REDIRECT_URI=http://localhost:3000/callback
# Email Notifications (Resend)
RESEND_API_KEY=your_resend_api_key_here
RESEND_FROM_EMAIL=your_verified_email@yourdomain.com
# Convex Backend
NEXT_PUBLIC_CONVEX_URL=your_convex_url_here
# AI Features (Optional)
OPENAI_API_KEY=your_openai_api_key_here- Create WorkOS Account: Visit workos.com and sign up
- Get Credentials: From WorkOS dashboard, copy Client ID and API Key
- Configure Redirect: Add
http://localhost:3000/callbackas redirect URI - Generate Password: Create secure cookie password (32+ characters)
# Start Convex development
npx convex devThis will:
- Deploy your backend functions
- Set up your database
- Provide your Convex URL
- Open the Convex dashboard
- Create Resend Account: Visit resend.com
- Add API Key: Copy your API key to
.env.local - Verify Domain: Add and verify your sending domain
- Test Email: Send a test email to verify setup
# Start development servers
npm run devVisit http://localhost:3000 to access your platform!
- Mood Statistics: Track your wellbeing trends
- Recent Activity: Latest journal entries and interactions
- Quick Actions: Fast access to key features
- Support Network: Emergency contacts status
- Daily Logging: Record mood and thoughts
- Historical View: Browse past entries
- Search & Filter: Find specific entries
- Export Options: Download your data (planned)
- Add Trusted Contacts: Family, friends, therapists
- Automatic Alerts: Notifications when you sign in
- Contact Management: Edit and remove contacts
- Privacy First: Only you can see your contacts
- 24/7 Availability: Always there when you need support
- Crisis Guidance: Help during difficult moments
- Coping Strategies: Evidence-based techniques
- Conversational: Natural language interaction
- Grounding: Stay present during dissociation
- Breathing: Reduce anxiety and stress
- Focus: Build concentration skills
- Stress Relief: Multiple relaxation techniques
- End-to-End Encryption: All data encrypted in transit and at rest
- GDPR Compliant: European privacy standards
- HIPAA Ready: Healthcare data protection (in development)
- Zero Trust: Minimal data exposure
- Anonymous Usage: No personal data collection
- Local Processing: Data stays on your device when possible
- Secure Authentication: Industry-standard OAuth implementation
- Transparent Policies: Clear privacy documentation
- Documentation: Comprehensive setup and usage guides
- Email Support: Direct assistance for technical issues
- Community Forum: Connect with other users (planned)
- Professional Resources: Links to mental health organizations
We welcome contributions from developers, mental health professionals, and users:
- Bug Reports: Help us improve stability
- Feature Requests: Suggest new tools and improvements
- Code Contributions: Help expand the platform
- Documentation: Improve user guides and setup instructions
- β 6 Core Tools: Journal, Contacts, Chat, Grounding, Breathing, Focus
- β Responsive Design: Works on all devices
- β Multi-language Ready: Internationalization support
- β Theme Support: Dark and light modes
- β Real-time Sync: Instant data updates
- π Data Export: PDF and CSV export options
- π Mobile App: Native iOS and Android applications
- π Professional Tools: Therapist dashboard and tools
- π Community Features: User forums and peer support
- π Advanced Analytics: Detailed wellbeing insights
This project is licensed under the MIT License - see the LICENSE file for details.
- Convex: For the amazing backend platform
- WorkOS: For secure authentication solutions
- Resend: For reliable email delivery
- OpenAI: For AI-powered support features
- Mental Health Community: For guidance and inspiration
- Beta Testers: For valuable feedback and suggestions
Built with β€οΈ for the mental health community