Light of Knowledge - A comprehensive Islamic web application
Noor ul Ilm is an Islamic web application providing authentic Quran and Hadith resources. Our mission is to make Islamic knowledge accessible to everyone with 100% accuracy and beautiful presentation.
- 📖 Al-Quran - Complete Quran with Arabic text and translations in multiple languages
- 📚 Hadith Collections - All major Hadith books (Bukhari, Muslim, Abu Dawud, etc.)
- 🔍 Smart Search - Search through Quran verses and Hadiths
- 👤 User Accounts - Save bookmarks, reading history, and preferences
- � Bookmarks - Save your favorite verses and hadiths
- 📜 Reading History - Continue where you left off
- �💝 Donate - Support Islamic causes and charity
- 🌙 Beautiful UI - Clean, respectful design with RTL support for Arabic
- 🔐 Admin Panel - Manage content, users, and donations
- Framework: Next.js 16+ (App Router, SSR/SSG)
- Language: TypeScript (strict mode)
- Styling: Tailwind CSS 4
- Database: PostgreSQL with Prisma ORM
- Authentication: JWT with HTTP-only cookies
- Fonts: Inter (UI) + Amiri (Arabic)
src/
├── app/ # Next.js App Router pages & API routes
│ ├── api/ # REST API endpoints
│ ├── quran/ # Quran reading pages
│ ├── hadith/ # Hadith reading pages
│ ├── dashboard/ # User dashboard
│ ├── admin/ # Admin panel
│ └── ... # Other pages
│
├── frontend/ # Client-side code
│ ├── components/ # React components
│ │ ├── quran/ # Quran-specific components
│ │ ├── hadith/ # Hadith-specific components
│ │ ├── search/ # Search components
│ │ └── dashboard/ # Dashboard components
│ ├── hooks/ # Custom React hooks
│ └── styles/ # CSS styles
│
├── backend/ # Server-side code
│ ├── lib/ # Server utilities (Prisma, auth)
│ ├── services/ # API services (Quran, Hadith, Search)
│ ├── data/ # Local data files
│ └── api/ # API helpers
│
├── shared/ # Shared between frontend & backend
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Shared utilities
│ └── constants/ # App constants
│
├── middleware.ts # Next.js middleware
│
prisma/
├── schema.prisma # Database schema
└── migrations/ # Database migrations
- Node.js 18+
- PostgreSQL database
- npm or yarn
-
Clone the repository:
git clone https://github.com/Rey-han-24/Noor-ul-ilm.git cd Noor-ul-ilm -
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run lint |
Run ESLint |
- All code must be clean, readable, and well-documented
- TypeScript strict mode is enabled
- ESLint rules must pass before commits
- Quran text must be 100% authentic (Uthmani script)
- Hadith must include proper grading and attribution
- All translations must be from verified scholars
- Full RTL support for Arabic content
- Proper semantic HTML
- Keyboard navigation support
Contributions are welcome! Please ensure:
- Code follows existing style conventions
- All Islamic content is verified for accuracy
- Tests pass (when implemented)
This project is open source and available under the MIT License.
- Quran data from verified Islamic sources
- Hadith from authenticated collections
- Translations from respected scholars
بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ
In the name of Allah, the Most Gracious, the Most Merciful