Prayer Mate is a lightweight, client-side React app built with Vite that helps users track prayer times, qibla direction, notifications, and other helpful features for daily worship. This repository contains the source code, assets, and routes for the single-page app.
- Project overview
- Key features
- Screens & Mockups (stylish grid)
- Quick start
- Development
- Build & Deploy
- Contributing
- License
This app is implemented with React + Vite and organized in a small, focused structure. The notable directories are:
src/— source files (components, pages, router, styles)public/— static assets that are served as-is (recommended location for mockup images)src/pages/— individual screen components (Home, Qibla, Salah Time, Notifications, Amal, etc.)
The UI aims to be minimal and mobile-friendly. The project is ready for local development and production builds.
- Display prayer times
- Qibla direction screen
- Notifications for prayer times
- Simple routing and layouts
- Easy to add mockup screenshots for documentation
You can showcase your app screens in a stylish responsive grid inside this README or in any documentation page. Place your mockup images in public/mockups/ (or docs/mockups/ if you prefer) and reference them with relative paths.
Example file structure for mockups:
public/
mockups/
home.png
qibla.png
salah-time.png
notifications.png
HTML-based responsive grid (works on GitHub README and most markdown viewers):
Notes:
- Use
./public/mockups/your-file.pngfor README display within the repository. When the site is hosted, images inpublic/are typically served from the root (e.g./mockups/home.png). - If you prefer pure Markdown, you can create a simple two-column table of screenshots, but the HTML grid above is more flexible and responsive.
Markdown table alternative (less flexible):
| Home | Qibla |
|---|---|
![]() |
![]() |
Requirements: Node.js (16+ recommended) and npm or pnpm.
Install dependencies and run locally:
# install
npm install
# start dev server
npm run devOpen http://localhost:5173 (or the port Vite prints) to preview the app.
- Source:
src/— edit pages and components here. - Routing:
src/Router/router.jsx— check the routes and add new pages as needed.
Useful scripts in package.json:
npm run dev— start the development servernpm run build— create a production buildnpm run preview— locally preview the production build
Create a production build and deploy the dist/ folder to any static host (Netlify, Vercel, GitHub Pages, Firebase Hosting, etc.):
npm run build
# then deploy contents of dist/If you host using the Vite default settings and place mockups in public/mockups/, they will be served at /mockups/<filename> after deployment.
- Create the folder
public/mockups/if it doesn't exist. - Add your screen images (PNG, JPG, or WebP). Prefer a consistent size/aspect ratio for a clean gallery.
- Update this README (or any documentation page) to reference the images using the paths shown above.
- Commit and push — the gallery will render on GitHub and in your hosted docs.
Tips:
- Use 3–4 mockups per row for a balanced layout. The provided grid is responsive and will adjust for mobile.
- Use subtle shadows, rounded corners, and consistent paddings for a modern look.
Contributions, issues and feature requests are welcome. For code changes:
- Fork the repository
- Create a feature branch
- Run the app and add tests if relevant
- Open a pull request with a clear description
This project is open-source. Add your preferred license file (LICENSE) or update this section with the chosen license.
If you'd like help working on the project or want feedback on UI/UX, open an issue or reach out in the repository.
If you want, I can also:
- Add a
docs/mockups/directory and create a lightweight HTML preview page for the gallery. - Generate a small script that scans
public/mockups/and inserts a gallery snippet intoREADME.mdautomatically.
Tell me which of the extras you'd like and I'll apply them.






