A comprehensive web application for conducting neurodiversity research assessments
Developed for Wenzhou-Kean University (WKU) Research
Features ⢠Installation ⢠Usage ⢠Documentation
This platform provides a complete assessment suite for neurodiversity research, including standardized questionnaires for autism spectrum traits (AQ-50), ADHD symptoms (ASRS-18), and sensory processing patterns (AASP-60). The application is designed with research compliance, data integrity, and user experience in mind.
- WKU logo and branding
- Informed consent form (bilingual: English/Chinese)
- Research study information
- Consent confirmation before proceeding
- Auto-generated participant ID (NDR001-NDR800 format)
- Age, gender, phone number, campus email collection
- Neurodiversity scale (Aspie Quiz) self-report
- Form validation and error handling
- 50-question assessment
- 4-point Likert scale responses
- Bilingual instructions and questions
- Progress tracking with visual indicators
- Smooth navigation between questions
- 18-question assessment
- 5-point frequency scale (Never to Very Often)
- Past 6 months behavioral assessment
- Professional research-grade questions
- 60-question sensory processing assessment
- Bilingual presentation (English with Chinese translation)
- 5-point agreement scale
- Comprehensive sensory profile analysis
- Two 5-minute rest periods between assessments
- Interactive breathing exercise with bubble animations
- 4-7-8 breathing pattern guidance
- Skip option for participants
- Automatic progression when timer completes
- Thank you message and study debriefing
- Red packet QR code for compensation
- Data export functionality (JSON and CSV formats)
- Comprehensive scoring calculations
- Local storage for data persistence
- Frontend: React 18 with TypeScript
- Backend: Supabase (PostgreSQL)
- Styling: Tailwind CSS
- State Management: Zustand
- Routing: React Router DOM
- Animations: Framer Motion
- Notifications: Sonner (toast notifications)
- Icons: Lucide React
- Build Tool: Vite
- Deployment: Vercel
# Clone the repository git clone [repository-url] cd neurodiversity-assessment-website # Install dependencies pnpm install # Start development server pnpm run dev # Build for production pnpm run build # Run TypeScript checks pnpm run check
src/
āāā components/ # Reusable UI components
ā āāā InteractiveBreathing.tsx
ā āāā NavigationGuard.tsx
āāā pages/ # Page components
ā āāā HomePage.tsx
ā āāā PersonalInfoPage.tsx
ā āāā Aq50Questionnaire.tsx
ā āāā AdhdAsrsQuestionnaire.tsx
ā āāā AaspQuestionnaire.tsx
ā āāā RestPage.tsx
ā āāā CompletionPage.tsx
āāā store/ # State management
ā āāā assessmentStore.ts
āāā utils/ # Utility functions
ā āāā dataStorage.ts
āāā App.tsx # Main application component
- Comprehensive participant information collection
- Questionnaire response tracking
- Secure backend database storage (Supabase PostgreSQL)
- Real-time data synchronization
- JSON and CSV export functionality
- Scoring calculations for all assessments
- Encrypted data transmission and storage
- Smooth page transitions with animations
- Progress indicators for questionnaires
- Form validation and error handling
- Bilingual interface (English/Chinese)
- Responsive design for all devices
- Accessibility features
- Step-by-step assessment flow
- Navigation guards to prevent skipping
- Automatic progression between sections
- Session progress tracking
- Consent requirement enforcement
- IRB-compliant informed consent process
- Data privacy and confidentiality measures
- Participant ID anonymization
- Secure data handling practices
- Multi-layer security protection
- GDPR and data protection compliance
- Higher scores indicate more autistic traits
- Based on agreement/disagreement patterns
- Professional research-grade calculation
- Sum of all response values
- Higher scores indicate more ADHD symptoms
- Frequency-based assessment over 6 months
- Four quadrant analysis:
- Low Registration
- Sensation Seeking
- Sensory Sensitivity
- Sensation Avoiding
- Average scores for each quadrant
- Integration with research databases
- Advanced analytics and reporting
- Multi-language support expansion
- Mobile app development
- Real-time collaboration features
- All questionnaire content is for research purposes only
- Not intended for clinical diagnosis
- IRB approval required for actual deployment
- Participant compensation system integration
- Access Password Protection: Entire website requires password authentication
- Purpose: Prevents unauthorized access and protects research content
- Features:
- Password-protected entry page
- No research content visible without authentication
- Session-based authentication
- Rate limiting (5 attempts / 15-minute lockout)
- Copy/Print Prevention: Protects questionnaire content from unauthorized reproduction
- Features:
- Right-click menu disabled
- Text selection disabled
- Copy/paste keyboard shortcuts blocked
- Print function disabled
- Developer tools access restricted
- Screenshot detection with warnings
- Data Management Protection: Restricts data export to authorized administrators only
- Features:
- Separate administrator password
- Role-based access control
- Rate limiting (5 attempts / 5-minute lockout)
- Audit logging
- AES-256 Encryption: All data stored in Supabase PostgreSQL database
- Encrypted Backups: Automatic daily encrypted backups
- Secure Storage: SOC 2 Type II certified infrastructure
- TLS 1.3 Encryption: All communications use 256-bit encryption
- HTTPS Only: Enforced secure connections
- Encrypted API Calls: JWT-based authentication with encrypted tokens
- Row-Level Security (RLS): Database-level access control policies
- Parameterized Queries: SQL injection prevention
- API Rate Limiting: 100 requests/second, 6000 requests/minute
- DDoS Protection: Automatic threat detection and mitigation
- Private Connections: Isolated database instances
- IP Whitelisting: Optional IP-based access restrictions
- Edge Network Protection: DDoS protection at CDN level
- Automatic Scaling: Load balancing and traffic distribution
- Security Headers: CSP, HSTS, X-Frame-Options, X-Content-Type-Options
- Geographic Distribution: Asia-Pacific region deployment
- Participant Anonymization: Unique anonymous IDs (NDR###)
- Minimal PII Collection: Only essential contact information
- No Third-Party Tracking: No analytics or tracking scripts
- Data Retention Policies: Configurable data retention
- Secure Deletion: Permanent data removal procedures
- SOC 2 Type II Certified: Both Vercel and Supabase infrastructure
- GDPR Compliant: European data protection standards
- ISO 27001 Certified: Information security management
- Regular Security Audits: Third-party security assessments
Website Access Password: weloveasd123
Administrator Password: weloveasd123
- Change Default Passwords: Update access and admin passwords immediately
- Use Strong Passwords: Minimum 12 characters with mixed case, numbers, symbols
- Regular Password Rotation: Change passwords periodically
- Monitor Access Logs: Review Supabase audit logs regularly
- Limit Administrator Access: Only authorized personnel should have admin credentials
- Secure Environment Variables: Never commit
.envfiles to version control - Regular Security Updates: Keep dependencies up to date
Participant
ā (Access Password)
Website Entry
ā (HTTPS/TLS 1.3)
Assessment Completion
ā (Encrypted API)
Supabase PostgreSQL
ā (AES-256)
Encrypted Storage
ā (Admin Password)
Data Export
- Real-time Monitoring: Supabase and Vercel dashboards
- Automated Alerts: Unusual activity detection
- Incident Response: Documented procedures for security events
- 24/7 Infrastructure Support: Provided by hosting platforms
This project is developed for Wenzhou-Kean University research purposes.
For questions about this application or the research study, please contact the WKU research team.
Note: This is a research tool developed for academic purposes. All assessment content should be reviewed and approved by the appropriate Institutional Review Board (IRB) before deployment in actual research studies.
- Admin Password Setup - 3-minute quick setup guide
- Admin Security Guide - Complete security documentation
- Admin Login Guide - How to access data management
- Security Checklist - Full security implementation status
- Quick Start Guide - Get started in 5 minutes
- Offline Usage Guide - Use without internet
- Cross-Tab Sync - Multi-window synchronization
- Consent Feature - Informed consent implementation
- Data Analysis Guide - Analyze exported data
- Batch Export Guide - Export multiple assessments
- Backend Options - Supabase vs alternatives
- Project Information - Architecture and design
This platform implements comprehensive security measures:
- ā Password Hashing - SHA-256 for admin authentication
- ā HTTPS/TLS 1.3 - All traffic encrypted
- ā Content Protection - Prevent copying, printing, screenshots
- ā Rate Limiting - Prevent brute force attacks
- ā Audit Logging - Track all security events
- ā Database Encryption - AES-256 at rest
- ā Row-Level Security - Supabase RLS policies
- ā Security Headers - CSP, HSTS, X-Frame-Options, etc.
First-time setup? Follow the Admin Password Setup Guide to configure secure admin access.