DeenRoot
Free, ad-free Qur'an platform with a scripture-integrity guarantee enforced at the database layer
6,236
Ayahs Served
<2s
Hydration Ceiling
263 / 86
Translations / Languages
Overview
A full-stack Islamic learning platform — Qur'an reading, Hadith study, prayer times, and a retrieval-grounded AI assistant — built solo on a Django/DRF backend and a Next.js frontend, where Postgres is the single source of truth and external content providers are never a request-time dependency.
The Problem
Most Qur'an platforms either gate core content behind ads and subscriptions, or treat scripture like any other cached API response — one bad upstream payload away from silently serving corrupted text. Neither is acceptable when the data being served is the Qur'an: it has to stay free, and it has to be provably unable to change once stored.
The Solution
Built a Django/DRF backend where every external read (Quran Foundation, AlQuran Cloud, Sunnah.com, Aladhan) goes through a sync engine, not a direct API call. A Redis-backed distributed lock collapses thundering-herd requests to a single upstream call; a per-provider circuit breaker skips a failing provider for a cooldown window instead of retrying into it; every request carries a hard 2-second ceiling before falling back to whatever Postgres already has, flagged partial, with a Celery task finishing the job in the background. Scripture immutability is enforced twice — once in an application-layer guard, once as a Postgres BEFORE UPDATE trigger that raises on the write even if the ORM guard is bypassed entirely.