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.

💡

Our App — System Architecture & Technical Briefing

Technical induction for external developers and auditors detailing system conception, zero-bloat engineering philosophy, and cross-document navigation between the 4 master reports (Mindmap, Functional Report, DB Report, and Hub).

🗄️

Database Architecture Report (32 Tables)

Interactive specification detailing the relational schema (33 foreign keys, JSON columns, logical references), GDPR constraints, and ERD by module based on sqls/Tablas_mhc_db.sql.

⚙️

Functional Operations Report & Annexes

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

🗺️

Interactive Mindmap & Flowchart

Visual interactive mapping of the 4 roles, 29 operational services, 8 end-to-end workflows, and the 32-table relational schema with interactive 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. Provider onboarding review & pre-authorized email allowlist, company Hub access requests, 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.
🔒 4 Core Pillars: GDPR Insights (≥10 members) · Resources & Guides Suite · Admin Levels, Departments & Permissions · Benefits Configuration
🧑‍⚕️
Provider Portal
role: provider
Complete specialist workspace: onboarding & document verification, assigned client roster, session scheduling, PHQ-9/GAD-7/WHO-5 clinical tools, safety plans, 2-step invoicing, bio-change requests, and availability settings.
🔧 Technical Architecture & Stack
BackendVanilla PHP 8+ · OOP Core · Zero Framework Overhead
DatabaseMariaDB 10.4 / InnoDB · 32 tables · utf8mb4
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 & Tablas_mhc_db.sql (32 tables)
✓ 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, Provider Onboarding & Allowlist, Full CRUD
✓ Complete
5
Corporate Ecosystem Company Dashboard, Team & Departments, Benefits, Hub Resources, 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 (32 Tables)
⚙️ functional_report.html — Operations Report
🔌 api/ — JSON Endpoints (50+ scripts)
🧱 sqls/ — Tablas_mhc_db.sql
🛠️ config/ — config.php · faqs.json
Shared Assets & Frontend
🎨 assets/css/ — global · components · chat
⚡ assets/js/ — app · ajax
🖼️ assets/img/ — logo_MHC.jpg