GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yecon-27/sspf-neurodiversity: control

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
public
public
 
 
questionnaire-data
questionnaire-data
 
 
scripts
scripts
 
 
server
server
 
 
src
src
 
 
.env
.env
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
postcss.config.js
postcss.config.js
 
 
r2-cors-config.json
r2-cors-config.json
 
 
tailwind.config.js
tailwind.config.js
 
 
tsconfig.json
tsconfig.json
 
 
vercel.json
vercel.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

🧠 Neurodiversity Assessment Platform - Phase2 - Controlled

Version React TypeScript License

A comprehensive web application for conducting neurodiversity research assessments

Developed for Wenzhou-Kean University (WKU) Research

Features • Installation • Usage • Documentation


šŸ“– About

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.

Features

šŸ  Homepage

  • WKU logo and branding
  • Informed consent form (bilingual: English/Chinese)
  • Research study information
  • Consent confirmation before proceeding

šŸ‘¤ Personal Information Collection

  • 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

šŸ“‹ Questionnaire Assessments

Autism Spectrum Quotient (AQ-50)

  • 50-question assessment
  • 4-point Likert scale responses
  • Bilingual instructions and questions
  • Progress tracking with visual indicators
  • Smooth navigation between questions

ADHD ASRS Questionnaire

  • 18-question assessment
  • 5-point frequency scale (Never to Very Often)
  • Past 6 months behavioral assessment
  • Professional research-grade questions

Adolescent/Adult Sensory Profile (AASP)

  • 60-question sensory processing assessment
  • Bilingual presentation (English with Chinese translation)
  • 5-point agreement scale
  • Comprehensive sensory profile analysis

🧘 Rest and Breathing Exercises

  • 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

āœ… Completion and Data Export

  • 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

Technology Stack

  • 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

Installation

# 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

Project Structure

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

Key Features Implementation

Data Collection and Storage

  • 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

User Experience

  • 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

Navigation and Flow Control

  • Step-by-step assessment flow
  • Navigation guards to prevent skipping
  • Automatic progression between sections
  • Session progress tracking
  • Consent requirement enforcement

Research Compliance

  • 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

Assessment Scoring

AQ-50 Scoring

  • Higher scores indicate more autistic traits
  • Based on agreement/disagreement patterns
  • Professional research-grade calculation

ADHD ASRS Scoring

  • Sum of all response values
  • Higher scores indicate more ADHD symptoms
  • Frequency-based assessment over 6 months

AASP Scoring

  • Four quadrant analysis:
    • Low Registration
    • Sensation Seeking
    • Sensory Sensitivity
    • Sensation Avoiding
  • Average scores for each quadrant

Development Notes

Future Enhancements

  • Integration with research databases
  • Advanced analytics and reporting
  • Multi-language support expansion
  • Mobile app development
  • Real-time collaboration features

Research Considerations

  • All questionnaire content is for research purposes only
  • Not intended for clinical diagnosis
  • IRB approval required for actual deployment
  • Participant compensation system integration

šŸ”’ Data Security

Three-Layer Security Architecture

Layer 1: Website Access Control

  • 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)

Layer 2: Content Protection

  • 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

Layer 3: Administrator Access Control

  • 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

Data Encryption

Data at Rest

  • AES-256 Encryption: All data stored in Supabase PostgreSQL database
  • Encrypted Backups: Automatic daily encrypted backups
  • Secure Storage: SOC 2 Type II certified infrastructure

Data in Transit

  • TLS 1.3 Encryption: All communications use 256-bit encryption
  • HTTPS Only: Enforced secure connections
  • Encrypted API Calls: JWT-based authentication with encrypted tokens

Database Security (Supabase)

  • 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

Network Security (Vercel)

  • 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

Data Privacy

  • 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

Compliance

  • 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

Access Credentials

Website Access Password: weloveasd123
Administrator Password: weloveasd123

āš ļø Important: Change default passwords before production deployment

Security Best Practices

  1. Change Default Passwords: Update access and admin passwords immediately
  2. Use Strong Passwords: Minimum 12 characters with mixed case, numbers, symbols
  3. Regular Password Rotation: Change passwords periodically
  4. Monitor Access Logs: Review Supabase audit logs regularly
  5. Limit Administrator Access: Only authorized personnel should have admin credentials
  6. Secure Environment Variables: Never commit .env files to version control
  7. Regular Security Updates: Keep dependencies up to date

Data Flow

Participant
    ↓ (Access Password)
Website Entry
    ↓ (HTTPS/TLS 1.3)
Assessment Completion
    ↓ (Encrypted API)
Supabase PostgreSQL
    ↓ (AES-256)
Encrypted Storage
    ↓ (Admin Password)
Data Export

Monitoring and Incident Response

  • 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

License

This project is developed for Wenzhou-Kean University research purposes.

Contact

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.


šŸ“š Documentation

šŸ” Security & Admin

  • 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

šŸ“– User Guides

  • Quick Start Guide - Get started in 5 minutes
  • Offline Usage Guide - Use without internet
  • Cross-Tab Sync - Multi-window synchronization

šŸ”¬ Research Features

  • Consent Feature - Informed consent implementation
  • Data Analysis Guide - Analyze exported data
  • Batch Export Guide - Export multiple assessments

šŸ› ļø Technical

  • Backend Options - Supabase vs alternatives
  • Project Information - Architecture and design

šŸ”’ Security Features

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.

About

control

sspf-neurodiversity.vercel.app

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.