GET /api/book-categories
Get all book categories.
GET /api/book-categories/{id}
Get a specific book category by ID.
GET /api/books
Get all books.
GET /api/books/{id}
Get a specific book by ID.
GET /api/books/category/{categoryId}
Get books by category ID.
GET /api/dua-categories
Get all dua categories.
GET /api/dua-categories/{id}
Get a specific dua category by ID.
GET /api/duas
Get all duas.
GET /api/duas/{id}
Get a specific dua by ID.
GET /api/duas/category/{categoryId}
Get duas by category ID.
GET /api/prayer-guide
Get all Prayer Guide PDFs.
{
"success": true,
"data": [
{
"id": 1,
"title": "Complete Prayer Guide",
"description": null,
"pdf_url": "http://your-domain.com/uploads/guides/file.pdf",
"created_at": "2026-01-14T09:28:08.000000Z"
}
]
}
GET /api/more-zikar
Get all More Zikar PDFs.
{
"success": true,
"data": [
{
"id": 1,
"title": "Zikar Collection",
"description": null,
"pdf_url": "http://your-domain.com/uploads/guides/file.pdf",
"created_at": "2026-01-14T09:28:08.000000Z"
}
]
}
GET /api/hajj-umrah
Get all Hajj & Umrah PDFs.
{
"success": true,
"data": [
{
"id": 1,
"title": "Hajj Guide",
"description": null,
"pdf_url": "http://your-domain.com/uploads/guides/file.pdf",
"created_at": "2026-01-14T09:28:08.000000Z"
}
]
}
GET /api/hadith-categories
Get all hadith categories.
{
"success": true,
"data": [
{
"id": 1,
"name": "Sahih Bukhari",
"description": "Authentic hadiths from Sahih Bukhari",
"hadiths_count": 15,
"created_at": "2026-01-19T11:23:55.000000Z"
}
]
}
GET /api/hadith-categories/{id}
Get a specific hadith category by ID.
GET /api/hadiths
Get all hadiths. Optional query parameter: ?category_id=1
{
"success": true,
"data": [
{
"id": 1,
"category": {
"id": 1,
"name": "Sahih Bukhari"
},
"topic": "Deeds are by intentions",
"topic_arabic": "إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ",
"narrator": "Umar ibn al-Khattab reported: The Messenger of Allah, peace and blessings be upon him, said:",
"arabic_text": "إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ...",
"english_translation": "Verily, deeds are only with intentions...",
"source": "Şahih al-Bukhārī 54",
"grade": "Muttafaqun Alayhi",
"created_at": "2026-01-19T11:23:55.000000Z"
}
]
}
GET /api/hadiths/{id}
Get a specific hadith by ID.
GET /api/hadiths/category/{categoryId}
Get all hadiths by category ID.