{"id":24736766,"url":"https://github.com/follownaim/pharma-care","last_synced_at":"2026-04-12T03:02:37.519Z","repository":{"id":274085651,"uuid":"919357924","full_name":"FollowNaim/Pharma-Care","owner":"FollowNaim","description":"A comprehensive e-commerce platform designed to sell pharmacy products and medicines with a user-friendly interface for buyers, sellers, and administrators.","archived":false,"fork":false,"pushed_at":"2025-01-24T19:02:08.000Z","size":9217,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T15:36:22.489Z","etag":null,"topics":["dashboards","firebase","reactjs","shadcn-ui"],"latest_commit_sha":null,"homepage":"https://pharmacares.vercel.app","language":"JavaScript","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/FollowNaim.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}},"created_at":"2025-01-20T08:45:52.000Z","updated_at":"2025-01-24T19:02:12.000Z","dependencies_parsed_at":"2025-01-24T20:28:24.120Z","dependency_job_id":null,"html_url":"https://github.com/FollowNaim/Pharma-Care","commit_stats":null,"previous_names":["follownaim/pharma-care","ar-naim/pharma-care"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FollowNaim/Pharma-Care","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowNaim%2FPharma-Care","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowNaim%2FPharma-Care/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowNaim%2FPharma-Care/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowNaim%2FPharma-Care/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FollowNaim","download_url":"https://codeload.github.com/FollowNaim/Pharma-Care/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowNaim%2FPharma-Care/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dashboards","firebase","reactjs","shadcn-ui"],"created_at":"2025-01-27T21:59:33.013Z","updated_at":"2026-04-12T03:02:37.501Z","avatar_url":"https://github.com/FollowNaim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pharma Care\n\nPharma Care is a comprehensive e-commerce platform designed to sell pharmacy products and medicines with a user-friendly interface for buyers, sellers, and administrators. This project offers an extensive set of features, including dashboards for users, sellers, and admins, robust payment management, and advanced reporting tools.\n\n## **Showcasing Excellence in Healthcare Solutions** - Explore. Select. Simplify.\n\n\u003cimg src='https://github.com/FollowNaim/Pharma-Care/blob/master/pharmacare.jpg?raw=true'/\u003e\n\n## **Live Website**\n\n- **URL**: [Pharma Care Website](https://pharmacares.vercel.app)\n\n## **Admin Login Details**\n\n- **Email**: admin@pharmacare.com\n- **Password**: admin123\n\n## **Seller Login Details**\n\n- **Email**: seller@pharmacare.com\n- **Password**: seller123\n\n---\n\n## **Features Overview**\n\n### **General Features**\n\n1. **User Registration and Authentication**\n\n   - Sign up with roles (`User` or `Seller`) and social login options (Google).\n   - Role-based access to features.\n\n2. **Shop Page**\n\n   - Browse all medicines with sorting, searching, and pagination capabilities.\n   - Add medicines to the cart or view details via a modal popup.\n\n3. **Category Details Page**\n\n   - Filter medicines by category (e.g., Tablets, Syrups, Capsules).\n   - View and select medicines for purchase.\n\n4. **Cart Management**\n\n   - Modify selected items, update quantities, or clear the cart.\n   - Navigate to the checkout page for payment.\n\n5. **Checkout and Invoice Generation**\n   - Pay securely via Stripe.\n   - Download detailed invoices as PDF after payment.\n\n---\n\n## **Admin Dashboard Features**\n\n1. **Homepage Insights**\n\n   - With nice visualization chart View total sales revenue with `Paid`, `Pending` and `Rejected` summaries.\n\n2. **User Management**\n\n   - Upgrade users to sellers or admins and downgrade sellers to users.\n\n3. **Category Management**\n\n   - Add, edit, and delete medicine categories with a user-friendly modal form.\n\n4. **Payment Management**\n\n   - Manage payments and update statuses from `Pending` to `Paid` or `Reject`.\n\n5. **Sales Reports**\n\n   - Filter data based on date range and export sales data in XLSX format.\n\n6. **Advertisement Management**\n   - Approve or reject medicine advertisements for homepage sliders.\n\n---\n\n## **Seller Dashboard Features**\n\n1. **Homepage Statistics**\n\n   - With nice visualization chart View revenue from medicines sold (`Paid`, `Pending` and `Rejected` breakdowns).\n\n2. **Manage Medicines**\n\n   - Add new medicines with details like name, category, price, and discounts.\n   - Edit or delete existing medicines and view in tabular format.\n\n3. **Payment History**\n\n   - Track purchase transactions with `Paid` or `Pending` statuses.\n\n4. **Advertisement Requests**\n   - Submit advertisements with images and descriptions.\n   - Monitor the status of advertisements (approved/rejected).\n\n---\n\n## **User Features**\n\n1. **Payment History**\n\n   - Access all transaction details, including `Paid` and `Pending` statuses.\n\n2. **Invoice Management**\n\n   - Download invoices for completed purchases.\n\n3. **Cart Management**\n\n   - Modify selected medicines, adjust quantities, or clear the cart.\n\n4. **Browsing and Selection**\n   - Seamlessly explore and choose medicines based on categories.\n\n---\n\n## **Other Features**\n\n- Implemented **pagination**, **search**, and **sorting** shop tables.\n- Secure **JWT token-based authentication** with local storage.\n- Export sales reports in XLSX format.\n- Download invoice in PDF format.\n- Integrated **React Hook Form** for efficient form handling.\n- Used **React Helmet** for dynamic page metadata management.\n\n---\n\n## **Technology Stack**\n\n- **Frontend**: React, Tailwind CSS, Shadcn, Context API, Firebase Authentication, Stripe Payment Gateway.\n- **Backend**: Node.js, Express, MongoDB.\n\n## Dependencies\n\nBelow is a list of all the dependencies and their respective versions used in the Pharma Care project:\n\n### **Dependencies**\n\n- `@ag-media/react-pdf-table`: ^2.0.1\n- `@hookform/resolvers`: ^3.10.0\n- `@leenguyen/react-flip-clock-countdown`: ^1.6.0\n- `@radix-ui/react-avatar`: ^1.1.2\n- `@radix-ui/react-dialog`: ^1.1.4\n- `@radix-ui/react-dropdown-menu`: ^2.1.4\n- `@radix-ui/react-label`: ^2.1.1\n- `@radix-ui/react-navigation-menu`: ^1.2.3\n- `@radix-ui/react-popover`: ^1.1.4\n- `@radix-ui/react-select`: ^2.1.4\n- `@radix-ui/react-separator`: ^1.1.1\n- `@radix-ui/react-slot`: ^1.1.1\n- `@radix-ui/react-tooltip`: ^1.1.6\n- `@react-pdf/renderer`: ^4.1.6\n- `@stripe/react-stripe-js`: ^3.1.1\n- `@stripe/stripe-js`: ^5.5.0\n- `@tanstack/react-query`: ^5.64.1\n- `axios`: ^1.7.9\n- `class-variance-authority`: ^0.7.1\n- `clsx`: ^2.1.1\n- `cmdk`: ^1.0.0\n- `firebase`: ^11.1.0\n- `lucide-react`: ^0.471.1\n- `react`: ^18.3.1\n- `react-day-picker`: ^8.10.1\n- `react-dom`: ^18.3.1\n- `react-export-table-to-excel`: ^1.0.6\n- `react-helmet-async`: ^2.0.5\n- `react-hook-form`: ^7.54.2\n- `react-hot-toast`: ^2.5.1\n- `react-icons`: ^5.4.0\n- `react-router-dom`: ^7.1.1\n- `recharts`: ^2.15.0\n- `sweetalert2`: ^11.15.10\n- `swiper`: ^11.2.1\n- `tailwind-merge`: ^2.6.0\n- `tailwindcss-animate`: ^1.0.7\n- `zod`: ^3.24.1\n\n---\n\n### **Dev Dependencies**\n\n- `@eslint/js`: ^9.17.0\n- `@types/node`: ^22.10.5\n- `@types/react`: ^18.3.18\n- `@types/react-dom`: ^18.3.5\n- `@vitejs/plugin-react`: ^4.3.4\n- `autoprefixer`: ^10.4.20\n- `eslint`: ^9.17.0\n- `eslint-plugin-react`: ^7.37.2\n- `eslint-plugin-react-hooks`: ^5.0.0\n- `eslint-plugin-react-refresh`: ^0.4.16\n- `globals`: ^15.14.0\n- `postcss`: ^8.4.49\n- `tailwindcss`: ^3.4.17\n- `vite`: ^6.0.5\n\nEnjoy exploring **Pharma Care**!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollownaim%2Fpharma-care","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffollownaim%2Fpharma-care","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollownaim%2Fpharma-care/lists"}