{"id":30066528,"url":"https://github.com/ameerhamzahd/thrivesecure","last_synced_at":"2026-04-10T13:32:16.871Z","repository":{"id":308000265,"uuid":"1031270849","full_name":"ameerhamzahd/ThriveSecure","owner":"ameerhamzahd","description":"ThriveSecure is a modern insurance platform offering seamless policy browsing, secure payments, and personalized user experiences. Built with scalability and trust in mind, it empowers users to explore, purchase, and manage life insurance with confidence.","archived":false,"fork":false,"pushed_at":"2025-08-17T09:38:11.000Z","size":1867,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-17T11:30:05.706Z","etag":null,"topics":["expressjs","firebase-auth","jwt","mongodb","nodejs","reactjs"],"latest_commit_sha":null,"homepage":"https://thrivesec-org.web.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ameerhamzahd.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}},"created_at":"2025-08-03T11:44:22.000Z","updated_at":"2025-08-17T09:38:15.000Z","dependencies_parsed_at":"2025-08-03T15:31:51.506Z","dependency_job_id":"06742e2f-0591-496e-bde9-e90ab8dc9f47","html_url":"https://github.com/ameerhamzahd/ThriveSecure","commit_stats":null,"previous_names":["ameerhamzahd/thrivesecure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ameerhamzahd/ThriveSecure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ameerhamzahd","download_url":"https://codeload.github.com/ameerhamzahd/ThriveSecure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31645284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"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":["expressjs","firebase-auth","jwt","mongodb","nodejs","reactjs"],"created_at":"2025-08-08T07:44:06.311Z","updated_at":"2026-04-10T13:32:16.819Z","avatar_url":"https://github.com/ameerhamzahd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThriveSecure\n\nWelcome to **ThriveSecure**, a secure, user-friendly digital platform for purchasing, managing, and tracking your life and health insurance policies. Our mission is to empower individuals and families with transparent, accessible, and modern insurance solutions for a confident future.\n\n---\n\n##  Key Features\n\n- Purchase life \u0026 health insurance policies easily\n- Manage, view, and track policies in a personal dashboard\n- Secure Stripe payment integration\n- Dynamic policy statistics and data visualization\n- Real-time notifications for payment and policy updates\n- Secure login, registration \u0026 role-based dashboards\n- Admin, Agent \u0026 Customer analytics and management according their role\n\n---\n\n## Tech Stack\n\n### Frontend\n\n- **React** — Core UI library\n- **Tailwind CSS** — Utility-first CSS framework\n- **React Router** — Declarative routing\n- **Firebase Auth** — User authentication\n- **Stripe** — Payment processing\n- **Framer Motion** — Animations and transitions\n\n---\n\n## NPM Packages Used\n\n### Client Side\n\n| Package                      | Purpose                                 |\n|------------------------------|-----------------------------------------|\n| `@stripe/react-stripe-js`    | Stripe React integration               |\n| `@stripe/stripe-js`          | Stripe client SDK                       |\n| `@tailwindcss/vite`          | Tailwind plugin for Vite                |\n| `@tanstack/react-query`      | Data fetching \u0026 caching                 |\n| `axios`                      | HTTP client                             |\n| `firebase`                   | Firebase SDK                            |\n| `jspdf`                      | PDF generation for policies/invoices   |\n| `lottie-react`               | Lottie animations                       |\n| `motion`                     | Animation \u0026 transition effects         |\n| `react`                      | Core React library                      |\n| `react-countup`              | Animated policy/statistics counters    |\n| `react-dom`                  | DOM rendering                           |\n| `react-helmet-async`         | SEO management                          |\n| `react-hook-form`            | Form handling \u0026 validation             |\n| `react-icons`                | Icon library                            |\n| `react-multi-carousel`       | Responsive carousel                     |\n| `react-router`               | Frontend routing                        |\n| `react-toastify`             | Toast notifications                     |\n| `recharts`                   | Chart visualizations                    |\n| `sweetalert2`                | Alert modals                            |\n| `swiper`                     | Swiper sliders                          |\n| `tailwindcss`                | Tailwind CSS                            |\n\n---\n\n## Setup Instructions \u0026 Installation\n\n1. **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/ameerhamzahd/ThriveSecure.git\n    cd ThriveSecure\n    ```\n\n2. **Install dependencies:**\n\n    ```bash\n    npm install\n    ```\n\n    Ensure Tailwind CSS is initialized if not already:\n\n    ```bash\n    npx tailwindcss init -p\n    ```\n\n3. **Configure Firebase:**\n\n    Create a `.env.local` file and add your Firebase configuration:\n\n    ```env\n    VITE_API_KEY=your_api_key\n    VITE_AUTH_DOMAIN=your_auth_domain\n    VITE_PROJECT_ID=your_project_id\n    VITE_STORAGE_BUCKET=your_storage_bucket\n    VITE_MESSAGING_SENDER_ID=your_sender_id\n    VITE_APP_ID=your_app_id\n    ```\n\n4. **Configure Stripe (optional):**\n\n    Add your Stripe publishable key in `.env.local`:\n\n    ```env\n    VITE_STRIPE_PUBLISHABLE_KEY=your_publishable_key\n    ```\n\n5.  **Configure cloudinary (optional):**\n\n    Add your cloudinary publishable key in `.env.local`:\n\n    ```env\n    VITE_CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name\n    VITE_CLOUDINARY_UPLOAD_PRESET=your_cloudinary_upload_preset\n    ```\n\n6. **Run locally:**\n\n    ```bash\n    npm run dev\n    ```\n\n---\n\n## Fix Client-Side Routing (React Router)\n\nIf using React Router with Firebase Hosting, add a `_redirects` file in your `public/` folder:\n\n    ```\n    /* /index.html 200\n\n---\n\n## Deployment Steps to Firebase\n\n1. **Login to Firebase CLI:**\n\n    ```bash\n    npm install -g firebase-tools\n    firebase login\n    ```\n\n2. **Initialize Firebase in your project:**\n\n    ```bash\n    firebase init\n    ```\n\n    - Choose **Hosting**.\n    - Select your Firebase project.\n    - Set `dist` as the public directory.\n    - Choose **Yes** for single-page app rewrite (`index.html`).\n    - Choose **No** for GitHub deploys unless needed.\n\n3. **Build your React app:**\n\n    ```bash\n    npm run build\n    ```\n\n4. **Deploy to Firebase:**\n\n    ```bash\n    firebase deploy\n    ```\n\n---\n\n## Contact\n\nFor issues or suggestions, please contact: ameerhamzah.daiyan@gmail.com\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n## Acknowledgements\n\nThanks to Firebase, Stripe, Tailwind CSS, and the React ecosystem for powering this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameerhamzahd%2Fthrivesecure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fameerhamzahd%2Fthrivesecure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameerhamzahd%2Fthrivesecure/lists"}