You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
An API that shows verses from the Qur'an based on emotions.
Theduas.json hasduas picked from eitherQur'an orHadith.AndemotionBasedVerses.json has verses picked fromQur'an only.
Available Duas / Verses
Qamar has27 verses inemotionBasedVerses.json
And28 duas induas.json
Endpoint
/verses returns all of theverses that are present.
/verses/:id returns averse based on theid.
/duas returns all theduas that are present.
/duas/:duaid returns adua based on theid.
Returned Data
For Verses
{"id":2,"title":"Angry","sub_title":"Extinguish","arabic":"ٱلَّذِينَ يُنفِقُونَ فِى ٱلسَّرَّآءِ وَٱلضَّرَّآءِ وَٱلْكَـٰظِمِينَ ٱلْغَيْظَ وَٱلْعَافِينَ عَنِ ٱلنَّاسِ ۗ وَٱللَّهُ يُحِبُّ ٱلْمُحْسِنِينَ","urdu_translation":"جو آسودگی اور تنگی میں (اپنا مال خدا کی راہ میں) خرچ کرتےہیں اور غصے کو روکتے اور لوگوں کے قصور معاف کرتے ہیں اور خدا نیکو کاروں کو دوست رکھتا ہے","english_translation":"Who spend [in the cause of Allah] during ease and hardship and who restrain anger and who pardon the people - and Allah loves the doers of good","reference":""}
For Duas
{"id":1,"title":"For Forgiveness","arabic":" رَبِّ إِنِّى ظَلَمْتُ نَفْسِى فَٱغْفِرْ لِى","urdu_translation":" اے پروردگار میں نے اپنے آپ پر ظلم کیا تو مجھے بخش دے","english_translation":"My Lord! I have definitely wronged my soul, so forgive me.","reference":""}
PS: Some of thetranslation is not present for now, but will be soon added. If you're interested in making a contribution, please do so.
For Contribution
Please clone this repo by pasting the below code in the terminal
git clone https://github.com/realtouseef/qamar.git# thencd qamar yarn# to start the server yarn start
If you wanna add moreduas orverses, please follow this pattern: