{"id":45161575,"url":"https://github.com/codegeniusdev/e-commerce_pharm","last_synced_at":"2026-02-20T06:02:26.056Z","repository":{"id":337109142,"uuid":"1105495485","full_name":"CodeGeniusDev/E-commerce_Pharm","owner":"CodeGeniusDev","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-07T20:04:10.000Z","size":162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-08T04:31:17.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rehmatpharma.netlify.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeGeniusDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-27T17:37:08.000Z","updated_at":"2026-02-07T20:04:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/CodeGeniusDev/E-commerce_Pharm","commit_stats":null,"previous_names":["codegeniusdev/e-commerce_pharm"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/CodeGeniusDev/E-commerce_Pharm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGeniusDev%2FE-commerce_Pharm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGeniusDev%2FE-commerce_Pharm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGeniusDev%2FE-commerce_Pharm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGeniusDev%2FE-commerce_Pharm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeGeniusDev","download_url":"https://codeload.github.com/CodeGeniusDev/E-commerce_Pharm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGeniusDev%2FE-commerce_Pharm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29642906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T05:21:04.652Z","status":"ssl_error","status_checked_at":"2026-02-20T05:21:04.238Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-20T06:02:24.682Z","updated_at":"2026-02-20T06:02:26.046Z","avatar_url":"https://github.com/CodeGeniusDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rehmat Pharma - E-Commerce Website\n\nA modern GlassMorphism-themed pharmacy e-commerce website built with React, TypeScript, and Tailwind CSS.\n\n## Features\n\n- 🏥 **GlassMorphism Design** - Beautiful frosted glass UI with translucent cards\n- 🛒 **Shopping Cart** - Persistent cart with localStorage\n- 📱 **Responsive** - Mobile-first design\n- 💬 **WhatsApp Ordering** - Send orders directly via WhatsApp\n- 📋 **Prescription Upload** - Upload prescriptions for controlled medications\n- ♿ **Accessible** - Proper focus states and ARIA labels\n\n## Setup\n\n### 1. Install Dependencies\n\n```bash\nnpm install\n```\n\n### 2. Configure WhatsApp Number\n\nOpen `src/pages/Checkout.tsx` and replace the WhatsApp number:\n\n```typescript\n// Replace with your WhatsApp number (with country code, no + or spaces)\nconst WHATSAPP_NUMBER = '923001234567';\n```\n\n### 3. Start Development Server\n\n```bash\nnpm run dev\n```\n\n## WhatsApp Message Format\n\nWhen a customer places an order, they'll be redirected to WhatsApp with a pre-filled message:\n\n```\n🏥 *NEW ORDER - Rehmat Pharma*\n\n📋 *Customer Details*\nName: John Doe\nPhone: 03001234567\nAddress: 123 Street, Lahore\n\n🛒 *Order Items*\n─────────────────\n1. Paracetamol 500mg\n   Qty: 2 × Rs. 45 = Rs. 90\n2. Vitamin C 1000mg\n   Qty: 1 × Rs. 320 = Rs. 320\n   ⚠️ Prescription Required\n─────────────────\n💰 *Total: Rs. 410*\n\n📄 *Prescription:*\nhttps://your-storage-url.com/prescription.jpg\n\n✅ Please confirm this order. Thank you!\n```\n\n## Example WhatsApp Link\n\n```\nhttps://wa.me/923001234567?text=%F0%9F%8F%A5%20*NEW%20ORDER%20-%20Rehmat%20Pharma*...\n```\n\n## Product Data\n\nProducts are stored in `src/data/products.ts`. Each product has:\n\n- `id` - Unique identifier\n- `name` - Product name\n- `slug` - URL-friendly name\n- `category` - Product category\n- `shortDescription` - Brief description\n- `price` - Price in PKR\n- `stock` - Available quantity\n- `imageUrl` - Product image URL\n- `requiresPrescription` - Whether prescription is needed\n\n## Tech Stack\n\n- **React 18** - UI library\n- **TypeScript** - Type safety\n- **Tailwind CSS** - Styling\n- **React Router** - Navigation\n- **Zod** - Form validation\n- **Cloud Storage** - File storage for prescriptions\n\n## Pages\n\n- `/` - Home page with hero, trust badges, featured products\n- `/products` - Product listing with search and filters\n- `/products/:slug` - Product detail page\n- `/cart` - Shopping cart\n- `/checkout` - Checkout with WhatsApp integration\n\n## Deploying\n\nDeploy using your preferred hosting service (Vercel, Netlify, etc.)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegeniusdev%2Fe-commerce_pharm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodegeniusdev%2Fe-commerce_pharm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegeniusdev%2Fe-commerce_pharm/lists"}