Logo Lanfrica

sociallight0/MindSpace-Kenya

Domain:

healthcare

Record type:

software
Creator:
soc
Host:
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'); …