https://github.com/mrhrifat/dua-ruqyah
An amazing web app for learn, study Dua from Hadith of Muhammad (SAW) & Quran. Dua by Categories, Sub Categories, Translation, References & many more features.
https://github.com/mrhrifat/dua-ruqyah
dua dua-api dua-app dua-ruqyah dua-website hadith hadith-api hadith-website mongodb nextjs ruqyah tailwindcss
Last synced: 9 months ago
JSON representation
An amazing web app for learn, study Dua from Hadith of Muhammad (SAW) & Quran. Dua by Categories, Sub Categories, Translation, References & many more features.
- Host: GitHub
- URL: https://github.com/mrhrifat/dua-ruqyah
- Owner: mrhrifat
- License: gpl-3.0
- Created: 2023-11-07T08:23:48.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-09T16:17:58.000Z (about 2 years ago)
- Last Synced: 2025-01-13T08:21:57.835Z (11 months ago)
- Topics: dua, dua-api, dua-app, dua-ruqyah, dua-website, hadith, hadith-api, hadith-website, mongodb, nextjs, ruqyah, tailwindcss
- Language: TypeScript
- Homepage:
- Size: 166 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Dua Ruqyah
An amazing web app for learn, study Dua from Hadith of Muhammad (SAW) & Quran.
Dua by Categories, Sub Categories, Translation, References & many more features.
## Live
- NOT Possible now due to database hosting
## Features
- Responsive Layout
- Category
- Sub Category
- Dua
- Settings Section
- Dua Translation, Reference
- 100% Performance, 95% Accessibility, 95% Best Practives, 100% SEO
## Lighthouse Report
## Development & Testing
If you are exiting & see how it works in local development machine
- Clone repositories
- Install dependencies (Take a Cup of Coffee!)
- Now you can start the server (If Backend & Database Not Ready you can see only Header)
- Connect to Backend & Database (First Time Only)
- Open **Studio 3T Linux**, **Compass** or any **MongoDB Client**
- Connect to `127.0.0.1:27017`
- Open Code on Editor & Go to
- `app/api/category/route.ts` && `app/api/subCategory/route.ts` && `app/api/dua/route.ts`
- Hide/Comment 1st **POST()** Method & make Visible/Comment Out 2nd **POST()** method below of it.
- Download `category, subCategory, dua` DB or JSON File from `Provided URL`
- Copy **Cateogry** && **Sub Category** && **Dua** Array of Object from JSON file
- Paste on `await Category/SubCategory/Dua.insertMany()`
- Open Postman/Insomnia
- Write Route `http://localhost:3000/api/category` | `http://localhost:3000/api/subCategory` | `http://localhost:3000/api/dua`
- Select POST Method & Press Send. you can see successful response on success
- Reload Browser/Restart Server & Check Webpage http://localhost:3000
- Go to http://localhost:3000
- Enjoy!
```
git clone https://github.com/mrhrifat/dua-ruqyah.git
yarn install or yarn
yarn dev
http://localhost:3000
```