Logo Lanfrica

sociallight0/MindSpace-Kenya

Domaine:

healthcare

Type de record:

software
Créateur:
soc
Hôte:
Mental Health Support Platform for Kenyans # MindSpace Kenya - Mental Health Platform A comprehensive mental health platform connecting Kenyans with licensed therapists for private, affordable, and culturally-relevant support. ## 🚀 Features - **User Authentication**: Secure signup and login with email/phone - **Smart Therapist Matching**: AI-powered matching based on user needs - **Dashboard**: Track mood, appointments, and progress - **Real-time Chat**: Message therapists directly - **Responsive Design**: Works on all devices - **Dark Mode**: Eye-friendly interface option ## 📁 Project Structure ``` mindspace-kenya/ ├── index.html # Landing page ├── login.html # Login page ├── getstarted.html # Signup & assessment flow ├── dashboard.html # User dashboard ├── therapy.html # Therapy booking ├── aiassistant.html # AI support ├── community.html # Community forum ├── css/ │ └── styles.css # Main stylesheet ├── js/ │ ├── app.js # Main application logic │ └── auth.js # Authentication handler └── api/ # PHP Backend ├── config.php # Database configuration ├── signup.php # Registration endpoint ├── login.php # Authentication endpoint ├── logout.php # Logout endpoint └── database.sql # Database schema ``` ## 🛠️ Installation & Setup ### Prerequisites - **Web Server**: Apache/Nginx - **PHP**: Version 7.4 or higher - **MySQL**: Version 5.7 or higher - **Modern Browser**: Chrome, Firefox, Safari, or Edge ### Step 1: Database Setup 1. **Create the database:** ```bash mysql -u root -p ``` 2. **Run the SQL schema:** ```sql source /path/to/database.sql ``` Or import via phpMyAdmin 3. **Verify tables were created:** ```sql USE mindspace_kenya; SHOW TABLES; ``` ### Step 2: Configure Backend 1. **Edit `api/config.php`:** ```php define('DB_HOST', 'localhost'); define('DB_USER', 'your_username'); // Change this define('DB_PASS', 'your_password'); …