Development Hub

Central workspace linking all operational modules. Navigate to each portal to build, test and review screens.

Ireland & EU Deployment
Stack: PHP 8+ · MariaDB · Vanilla JS
Direct Bank Settlement
🌐

Ecosystem Master Portal Cover

Return to the main entry point showcasing the Marketing Portal, Reports, and User Manual.

🗄️

Database Architecture Report (22 Tables)

Interactive specification detailing relational schema, foreign keys, GDPR constraints, and ERD diagram based on sqls/tablas_mhc_ok.sql.

⚙️

Functional Operations Report & Annexes

Comprehensive operational breakdown mapping inter-role workflows (Admin, Company, Provider, Client) and annex modules (Invoices, FAQs, Chat, Crisis, GDPR).

🗺️

Interactive Mindmap & Flowchart

Visual mapping of roles, services, backend APIs, and the 22-table database schema with real-time detail inspection.

📘

Client Onboarding & Clinical Classification Guide

Interactive step-by-step instructional guide in English for clients/members covering corporate verification, taxonomy topics, adaptive clinical screening (WHO-5, PHQ-2/9, GAD-2/7), smart matching, override catalogue, and the exact success milestone criteria.

Operational Portals

Independent portal ecosystems featuring role-scoped authentication, protected routes, and granular access controls.

🛡️
Admin Portal
role: administrator
Global control panel. Management of specialists, members, and company accounts. Overview of appointments, invoices, subroles, and safeguarding logs.
🏢
Mental Health Change Hub
role: company admin / hr manager
Comprehensive Employer Wellbeing Suite: On-demand segmented reporting with strict GDPR privacy shielding, clinician-developed guides & communication templates, granular manager permissions, and benefits linking.
🔒 3 Core Pillars: GDPR Insights (≥10 members) · Resources & Guides Suite · Admin Permissioning & Benefits Linking
🧑‍⚕️
Provider Portal
role: provider
Complete specialist workspace: assigned client roster, session scheduling, PHQ-9/GAD-7/WHO-5 clinical tools, 2-step invoicing, and availability settings.
🔧 Technical Architecture & Stack
BackendVanilla PHP 8+ · OOP Core · Zero Framework Overhead
DatabaseMariaDB / MySQL · utf8mb4_unicode_ci
FrontendHTML5 · Vanilla CSS · Vanilla JS
AJAXFetch API · async/await
ComplianceGDPR Ireland & European Union
SettlementDirect Bank Transfer B2B
Authbcrypt · PDO · CSRF tokens · HttpOnly Sessions
🗺️ Development Phase Roadmap
1
Environment & Schema Folder structure & initial database.sql
✓ Complete
2
Core Architecture & Auth Config, Database, Auth, 4 Portals, Global CSS & JS
✓ Complete
3
Specialist Ecosystem Dashboard, Clients, Sessions, Messages, Invoices, Profile
✓ Complete
4
Admin Ecosystem Admin Panel, SubRoles, Overview & Full CRUD
✓ Complete
5
Corporate Ecosystem Company Dashboard, Team, Reports, Billing, GDPR
✓ Complete
6
Member Ecosystem Dashboard, Sessions, Chat, Assessments
✓ Complete
📁 Directory Structure Reference
Operational Portals
🛡️ admin/ — Administrator
🏢 company/ — Corporate HR
🧑‍⚕️ provider/ — Specialist / Provider
💚 client/ — Member / Client
Backend Core & Reports
⚙️ core/ — Database · Auth · Models
🗄️ db_report.html — Database Spec (22 Tables)
⚙️ functional_report.html — Operations Report
🔌 api/ — JSON Endpoints (35+ scripts)
🛠️ config/ — config.php · faqs.json
Shared Assets & Frontend
🎨 assets/css/ — global · components · chat
assets/js/ — app · ajax
🖼️ assets/img/ — logo_MHC.jpg