Skip to content

🕌 MuslimHub - Modern Digital Platform for Global Muslim Community. Islamic app with Prayer Times, Quran Reader, Zakat Calculator, Community Features & AI Assistant. Built with React 18 + TypeScript + MongoDB.

License

Notifications You must be signed in to change notification settings

yani2298/MuslimHub

Repository files navigation

MuslimHub Banner

🕌 MuslimHub

The Modern Digital Platform for the Global Muslim Community

GitHub Stars GitHub Forks GitHub Issues GitHub Pull Requests

License: MIT Build Status PRs Welcome Contributors

React TypeScript Node.js MongoDB Docker

Islamic Community PWA API


🚀 Beta Version - Active Development

Building the future of Islamic digital experience

🌟 Star us on GitHub🐛 Report Issues💬 Join Discussions🤝 Contribute


🎯 About MuslimHub

🌍 The Ultimate Islamic Digital Ecosystem

Islamic Platform Global Community Open Source Modern Tech

Bridging Faith and Technology for 1.8+ Billion Muslims Worldwide

🌟 What Makes MuslimHub Special

Authentic

🕌 Religiously Authentic

  • Scholar-verified content
  • Accurate Islamic calculations
  • Traditional values preserved
  • Respectful implementation

Modern

⚡ Cutting-Edge Tech

  • React 18 + TypeScript
  • AI-powered features
  • Progressive Web App
  • Real-time functionality

Community

🤝 Community-Focused

  • Open source development
  • Global accessibility
  • Multi-language support
  • Inclusive design

Privacy

🔒 Privacy-Centric

  • Zero tracking policy
  • GDPR compliant
  • User data control
  • Transparent practices

🎯 Our Vision & Mission

🌟 Vision Statement

Vision

To become the world's leading Islamic digital platform, empowering Muslims globally with authentic religious tools, fostering unity through technology, and preserving Islamic values in the digital age.

Keywords: Islamic app, Muslim community, digital Islam, prayer times, Quran reader, Islamic technology, halal software

🎯 Mission Statement

Mission

Providing comprehensive Islamic digital services that enhance daily religious practice, connect Muslims worldwide, and make authentic Islamic knowledge accessible to everyone, everywhere, at any time.

Keywords: Muslim platform, Islamic services, prayer calculator, Zakat calculator, Qibla finder, Islamic community

🏷️ Platform Tags & Categories

🔗 Core Tags: Prayer Times Quran Reader Zakat Calculator Qibla Finder Islamic AI

🌐 Technology Tags: React TypeScript Node.js MongoDB PWA

📱 Platform Tags: Web App Mobile Ready Cross Platform Offline Support

🌍 Community Tags: Open Source Community Driven Global Access Multi Language

🔍 SEO Keywords & Topics

📈 SEO Optimization Keywords

Primary Keywords:

  • Islamic app, Muslim platform, Islamic digital services
  • Prayer times calculator, accurate prayer times, salah times
  • Quran reader online, digital Quran, Quran with translation
  • Zakat calculator, Islamic finance, halal calculator
  • Qibla finder, Mecca direction, Kaaba direction
  • Islamic community, Muslim networking, Islamic social platform

Secondary Keywords:

  • Adhan times, namaz times, Islamic calendar
  • Tafsir, Hadith collection, Islamic knowledge
  • Muslim community app, Islamic lifestyle app
  • Halal food finder, Islamic education, Arabic learning
  • Islamic AI assistant, Muslim chatbot, Islamic Q&A

Technical Keywords:

  • Progressive web app Islam, PWA Islamic, offline Islamic app
  • React Islamic app, TypeScript Muslim platform
  • Open source Islamic software, MIT license Islamic project

Feature Showcase

🏗️ Development Status Overview

Progress Frontend Backend API

🕌 Core Islamic Features

Authentic • Accurate • Accessible

Prayer Times

🕐 Prayer Times

  • GPS-based calculations
  • Multiple calculation methods
  • Custom location settings
  • Prayer notifications
Quran Reader

📖 Quran Reader

  • Full Arabic text
  • Multiple translations
  • Audio recitations
  • Search functionality
Zakat Calculator

💰 Zakat Calculator

  • Comprehensive calculations
  • Multiple asset types
  • Real-time rates
  • Detailed breakdowns
Qibla Finder

🧭 Qibla Finder

  • Accurate direction
  • GPS integration
  • Compass interface
  • AR capabilities (planned)

🚧 Next-Generation Features

Innovation meets Islamic tradition

AI 🤖 Islamic AI Assistant

  • Quran & Sunnah based responses
  • Multi-language support
  • Context-aware answers
  • Scholar-verified content

Search 🔍 Semantic Search

  • AI-powered Quran search
  • Hadith collection integration
  • Cross-reference capabilities
  • Contextual understanding

Community 🌐 Community Platform

  • Discussion forums
  • Study groups
  • Local mosque integration
  • Event coordination

📱 Progressive Web Application

Modern technology for timeless values

Feature Status Description
📱 Mobile Responsive ✅ Complete Optimized for all screen sizes
Fast Loading ✅ Complete Sub-2s load times
🔄 Offline Support 🚧 Development Basic offline functionality
📥 App Installation ✅ Beta Install as native app
🔔 Push Notifications 🚧 Development Prayer time reminders
🌙 Dark Mode 📋 Planned Eye-friendly night mode

🏗️ Technical Architecture

💻 Technology Stack Overview

Frontend Backend Database Cloud

📂 Project Architecture

🎨 Frontend Stack

frontend/
├── 🎯 src/
   ├── 🧩 components/     // Reusable UI components
      ├── ui/           // Base UI elements
      ├── forms/        // Form components
      └── islamic/      // Islamic-specific components
   ├── 📄 pages/         // Application pages
      ├── auth/         // Authentication pages
      ├── dashboard/    // User dashboard
      └── features/     // Feature-specific pages
   ├── 🎣 hooks/         // Custom React hooks
   ├── 🔗 services/      // API integration services
   ├── 🛠️ utils/         // Helper functions
   └── 🎨 styles/        // Styling and themes
├── 📦 public/            // Static assets
└── ⚙️ config/            // Build configurations

Backend Stack

backend/
├── 🎯 src/
   ├── 🛣️ routes/        // API endpoints
      ├── auth/         // Authentication routes
      ├── islamic/      // Islamic features routes
      └── community/    // Community features
   ├── 📊 models/        // MongoDB schemas
      ├── User.ts       // User model
      ├── Prayer.ts     // Prayer times model
      └── Community.ts  // Community model
   ├── 🔒 middleware/    // Express middleware
   ├── 🎯 services/      // Business logic
   ├── 🔧 utils/         // Backend utilities
   └── 📋 types/         // TypeScript definitions
├── 🧪 tests/             // Test suites
└── 🐳 docker/            // Containerization

🛠️ Technology Deep Dive

Frontend Technologies

Technology Version Purpose Status
React 18.2+ UI Framework ✅ Implemented
TypeScript 5.0+ Type Safety ✅ Implemented
Tailwind 3.3+ Styling ✅ Implemented
React Query 5.0+ State Management ✅ Implemented
PWA Latest Progressive Web App 🚧 In Progress

Backend Technologies

Technology Version Purpose Status
Node.js 20.x Runtime Environment ✅ Implemented
Express 4.18+ Web Framework ✅ Implemented
MongoDB 6.0+ Database ✅ Implemented
JWT 9.0+ Authentication ✅ Implemented
Docker 24.x+ Containerization 📋 Planned

🚀 DevOps & Deployment Pipeline

graph LR
    A[👨‍💻 Developer] --> B[📝 Code Commit]
    B --> C[🔍 GitHub Actions]
    C --> D[🧪 Tests & Linting]
    D --> E[🏗️ Build Process]
    E --> F[🐳 Docker Image]
    F --> G[☁️ Cloud Deployment]
    G --> H[🌐 Live Application]
Loading

CI/CD Testing Monitoring

🚀 Quick Start Guide

Get Up and Running in 3 Minutes

Setup Time Support

📋 Prerequisites Checklist

Node.js

Node.js 18+

MongoDB

MongoDB 6+

Git

Git

🛠️ Installation Steps

Step 1: Clone & Navigate

# 📥 Clone the repository
git clone https://github.com/yani2298/MuslimHub.git

# 📂 Navigate to project directory
cd MuslimHub

Step 2: Install Dependencies

# 📦 Install all dependencies (frontend + backend)
npm run install-deps

# ⏱️ This may take 2-3 minutes depending on your connection

Step 3: Environment Setup

# 🔧 Create environment file
cp backend/.env.example backend/.env

# ✏️ Edit the .env file with your MongoDB connection
# Default MongoDB URI: mongodb://localhost:27017/muslimhub

Step 4: Launch Application

# 🚀 Start both frontend and backend servers
npm run dev

# 🌐 Application will be available at: http://localhost:3000
# 🔗 Backend API will be available at: http://localhost:5000

🎯 Quick Testing

Service URL Status Check
🎨 Frontend http://localhost:3000 Should show MuslimHub homepage
Backend API http://localhost:5000/health Should return {"status": "success"}
📊 Database Local MongoDB Check connection in terminal logs

🐳 Docker Alternative (Coming Soon)

# 🚀 One-command setup with Docker
docker-compose up --build

# ✨ Everything configured automatically

💡 Troubleshooting

🚨 Common Issues & Solutions

Port Already in Use

# Kill process on port 3000
npx kill-port 3000

# Kill process on port 5000  
npx kill-port 5000

MongoDB Connection Issues

# Check if MongoDB is running
mongosh --eval "db.runCommand({ ping: 1 })"

# Start MongoDB service (Windows)
net start MongoDB

# Start MongoDB service (macOS with Homebrew)
brew services start mongodb-community

Installation Failures

# Clear npm cache
npm cache clean --force

# Delete node_modules and reinstall
rm -rf node_modules package-lock.json
npm install

⚙️ Environment Configuration

🔐 Secure Configuration Setup

Environment Security Configuration

📝 Backend Environment Variables

Create a .env file in the backend/ directory with the following configuration:

🏗️ Core Configuration

# 🚀 Server Configuration
PORT=5000
NODE_ENV=development

# 📊 Database Configuration
MONGODB_URI=mongodb://localhost:27017/muslimhub

# 🔐 Authentication Configuration
JWT_SECRET=your_super_secure_secret_key_here
JWT_EXPIRE=30d
REFRESH_TOKEN_SECRET=your_refresh_token_secret
REFRESH_TOKEN_EXPIRE=7d

🌐 API Integration (Optional)

# 🕐 Prayer Times API
PRAYER_TIMES_API_KEY=your_prayer_api_key
PRAYER_CALCULATION_METHOD=MWL

# 📖 Quran API
QURAN_API_KEY=your_quran_api_key
QURAN_API_BASE_URL=https://api.quran.com

# 🧭 Geolocation Services
GEOCODING_API_KEY=your_geocoding_api_key
MAPS_API_KEY=your_maps_api_key

🔒 Security Best Practices

Setting Development Production Description
JWT_SECRET 32+ chars 64+ chars, cryptographically secure Used for token signing
NODE_ENV development production Environment mode
MONGODB_URI Local MongoDB MongoDB Atlas cluster Database connection
CORS_ORIGIN http://localhost:3000 Your domain Allowed origins

🛡️ Production Environment

🏭 Production-Ready Configuration
# 🏭 Production Configuration
NODE_ENV=production
PORT=5000

# 🔒 Secure Database Connection
MONGODB_URI=mongodb+srv://username:[email protected]/muslimhub

# 🔐 Strong Security Keys (Generate with: openssl rand -base64 64)
JWT_SECRET=your_production_jwt_secret_64_characters_minimum
REFRESH_TOKEN_SECRET=your_production_refresh_secret_64_characters_minimum

# 🌐 CORS & Security
CORS_ORIGIN=https://yourdomain.com
ALLOWED_HOSTS=yourdomain.com,www.yourdomain.com

# 📧 Email Configuration (for notifications)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=[email protected]
SMTP_PASS=your_app_password

# 📊 Monitoring & Analytics
SENTRY_DSN=your_sentry_dsn
GOOGLE_ANALYTICS_ID=your_ga_id

🔌 REST API Documentation

🌐 Comprehensive API Reference

API Docs Postman

Base URL: http://localhost:5000/api (Development) • https://api.muslimhub.com/api (Production)

🔐 Authentication Endpoints

Endpoint Method Description Auth Required
/auth/register Create new user account with email verification ❌ No
/auth/login Authenticate user and return JWT tokens ❌ No
/auth/refresh Refresh access token using refresh token 🔄 Refresh Token
/auth/logout Invalidate user session and tokens ✅ Yes
/auth/profile Get current user profile information ✅ Yes

🕐 Prayer Times & Islamic Services

Endpoint Method Description Status
/prayers/times Get prayer times for specific location and date ✅ Active
/prayers/qibla Calculate Qibla direction from coordinates ✅ Active
/prayers/settings Save user's prayer time preferences 🚧 Development
/prayers/notifications Update prayer notification settings 📋 Planned

📖 Quran & Religious Content

Endpoint Method Description Features
/quran/chapters List all 114 Quran chapters with metadata 📊 Pagination
/quran/chapter/:id Get specific chapter with verses and translations 🌐 Multi-language
/quran/verse/:chapter/:verse Get specific verse with detailed information 🎵 Audio included
/quran/search Search Quran text with filters and highlighting 🔍 Full-text search
/quran/bookmarks Save and manage user bookmarks 👤 User-specific

💰 Zakat & Financial Tools

Endpoint Method Description Accuracy
/zakat/calculate Calculate Zakat based on assets and debts 💎 High precision
/zakat/rates Get current gold/silver rates and nisab values 📈 Real-time
/zakat/history View user's Zakat calculation history 📊 Analytics

🌐 Community Features (Coming Soon)

Endpoint Method Description Status
/community/forums List available discussion forums 📋 Planned
/community/posts Create new community posts 📋 Planned
/community/events Find local Islamic events and gatherings 📋 Planned

📚 API Usage Examples

🔍 Example API Calls

Get Prayer Times

curl -X GET "http://localhost:5000/api/prayers/times?lat=40.7128&lng=-74.0060&date=2024-01-01"

Register New User

curl -X POST "http://localhost:5000/api/auth/register" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Ahmed Ali",
    "email": "[email protected]",
    "password": "SecurePassword123!"
  }'

Search Quran

curl -X GET "http://localhost:5000/api/quran/search?q=patience&translation=en.sahih"

🤝 Contributing to MuslimHub

🌟 Join Our Mission - Build for the Ummah

Contributors Welcome Good First Issues Help Wanted

Every contribution matters in building a better digital Islamic experience

🌍 Ways to Contribute

Bug Reports

🐛 Bug Reports

  • Found an issue? Report it!
  • Include steps to reproduce
  • Add screenshots if helpful
  • Help us improve quality

Feature Requests

✨ Feature Ideas

  • Suggest Islamic features
  • Propose UI/UX improvements
  • Share community needs
  • Help shape our roadmap

Code Contributions

💻 Code Development

  • Fix bugs and issues
  • Implement new features
  • Improve performance
  • Add comprehensive tests

Documentation

📚 Documentation

  • Improve API docs
  • Write user guides
  • Translate content
  • Create tutorials

🚀 Quick Contribution Guide

graph LR
    A[🍴 Fork Repository] --> B[🌟 Create Feature Branch]
    B --> C[💻 Make Changes]
    C --> D[✅ Test Thoroughly]
    D --> E[📝 Commit Changes]
    E --> F[🚀 Push to Fork]
    F --> G[🔄 Create Pull Request]
    G --> H[🎉 Code Review & Merge]
Loading

📋 Development Standards

Area Standard Tool/Practice
Code Style Consistent formatting ESLint + Prettier
Type Safety Strict TypeScript No any types
Testing High coverage Jest + React Testing Library
Commits Conventional commits feat:, fix:, docs:
Islamic Accuracy Scholar verification Community review process

🕌 Islamic Development Guidelines

Special Considerations for Islamic Features

  • Religious Accuracy: All Islamic content must be verified for accuracy
  • Cultural Sensitivity: Consider diverse Muslim communities globally
  • Scholarly Review: Major religious features require scholarly input
  • Respectful Implementation: Maintain dignity in all Islamic content
  • Accessibility: Ensure features work for Muslims worldwide

🎯 Current Contribution Priorities

High Priority UI/UX Improvements Medium Priority Islamic AI Assistant Medium Priority Community Features Low Priority Advanced Analytics

📊 Development Roadmap & Status

🛤️ Project Timeline

Timeline Milestones Updates

Completed Features

🏗️ Foundation Phase (Completed)

  • Project Architecture - Modern monorepo structure
  • Authentication System - JWT-based security
  • Prayer Times Engine - GPS-based calculations
  • Quran Reader Core - Multi-translation support
  • Zakat Calculator - Comprehensive calculations
  • PWA Foundation - Progressive web app setup

🎨 User Experience (Completed)

  • Responsive Design - Mobile-first approach
  • Islamic Theme - Culturally appropriate UI
  • Component Library - Reusable UI elements
  • Navigation System - Intuitive user flow
  • Loading States - Smooth user experience
  • Error Handling - Graceful error management

🚧 Current Development Focus

Feature Progress Expected Completion Priority
🤖 Islamic AI Assistant 40% Q2 2025 High
🌐 Community Platform 25% Q3 2025 Medium
📱 Mobile Apps 10% Q4 2025 Medium
🔍 Semantic Search 60% Q1 2025 High

🎯 2025 Roadmap

timeline
    title MuslimHub Development Roadmap 2025
    
    Q1 2025 : Beta Launch
             : Enhanced UI/UX
             : Semantic Search
             : Performance Optimization
    
    Q2 2025 : AI Assistant
             : Advanced Analytics
             : Multi-language Support
             : Mobile Optimization
    
    Q3 2025 : Community Features
             : Local Events
             : Study Groups
             : Scholar Integration
    
    Q4 2025 : Mobile Apps
             : Advanced Features
             : Global Scaling
             : Enterprise Features
Loading

🏆 Performance & Quality Standards

📈 Technical Excellence Metrics

Performance Security Uptime Response

⚡ Performance

  • Load time < 2 seconds
  • Lighthouse score 95+
  • Core Web Vitals optimized
  • CDN global distribution

🔒 Security

  • A+ SSL Labs rating
  • OWASP compliance
  • Regular security audits
  • Data encryption at rest

🛡️ Privacy

  • GDPR compliant
  • Zero tracking policy
  • User data control
  • Transparent policies

🌍 Accessibility

  • WCAG 2.1 AA compliant
  • Screen reader support
  • Multi-language ready
  • Keyboard navigation

🤝 Community & Support

💬 Get Connected

Discord GitHub Discussions Twitter

🕌 Building together for the global Muslim community

🎯 Support Channels

🐛 Technical Issues

💬 Community Support

📧 Direct Contact

  • Business partnerships
  • Security concerns
  • Media inquiries

📄 License & Legal

License Compliance Open Source

Free and Open Source - Built with transparency for the Muslim community

This project is licensed under the MIT License - see the LICENSE file for full details.


🕌 Islamic Values in Technology

🌟 Our Guiding Principles

"وَاعْتَصِمُوا بِحَبْلِ اللَّهِ جَمِيعًا وَلَا تَفَرَّقُوا"

"And hold firmly to the rope of Allah all together and do not become divided"
- Quran 3:103


🤲 Built with love and dedication for the global Muslim Ummah
🌍 Serving Muslims worldwide with authentic Islamic technology
🤝 United in faith, innovation, and community


🚀 Ready to Get Started?

Star

Show Support Star our project and help us reach more Muslims worldwide

Contribute

Join Development Help build the future of Islamic technology

Issues

Report Bugs Help us improve by reporting issues

Discuss

Share Ideas Participate in community discussions


📊 Project Stats

GitHub Stars GitHub Forks GitHub Issues GitHub Pull Requests Last Commit


⚠️ Beta Development Notice

This project is currently in active beta development. We're continuously adding features and improvements.

Your feedback, contributions, and support help us build better tools for the Muslim community worldwide.


🌟 May Allah (SWT) bless this project and benefit the entire Ummah
جزاكم الله خيراً - May Allah reward you all with good

About

🕌 MuslimHub - Modern Digital Platform for Global Muslim Community. Islamic app with Prayer Times, Quran Reader, Zakat Calculator, Community Features & AI Assistant. Built with React 18 + TypeScript + MongoDB.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published