A web application to read the Al Quran with translations in multiple languages, built using React.js, Tailwind CSS, and React Router DOM. axios , The application allows users to view verses in Arabic alongside translations in various languages.
React.js, Tilwind css, react-router-dom , react functional component, React hooks,
To run tests, run the following command
npm start
/surah
GET
URL: /surah/{id}/editions/quran-uthmani,en.asad,bn.bengali,ur.junagarhi,hi.transliteration
Method: GET
Description: Retrieves a specific Surah by its ID along with multiple translations and editions, including:
URL Parameters:
id
(integer) – The number of the Surah (e.g., 1 for Al-Faatiha).Response Example: ```json { "code": 200, "status": "OK", "data": [ { "edition": { "identifier": "quran-uthmani", "language": "ar", "name": "Quran Uthmani", "englishName": "Quran in Arabic" }, "ayahs": [ { "number": 1, "text": "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ" }, { "number": 2, "text": "الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ" } ] }, { "edition": { "identifier": "en.asad", "language": "en", "name": "Muhammad Asad", "englishName": "The Message of the Qur'an" }, "ayahs": [ { "number": 1, "text": "In the name of God, the Most Gracious, the Dispenser of Grace" }, { "number": 2, "text": "ALL PRAISE is due to God alone, the Sustainer of all the worlds" } ] }, ... ] }