{"id":30873676,"url":"https://github.com/ameerhamzahd/thrivesecure-server","last_synced_at":"2026-05-07T15:48:47.816Z","repository":{"id":310325230,"uuid":"1031271027","full_name":"ameerhamzahd/ThriveSecure-Server","owner":"ameerhamzahd","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-17T09:43:35.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-07T23:51:00.695Z","etag":null,"topics":["expressjs","firebase-token","jwt","nodejs"],"latest_commit_sha":null,"homepage":"","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":"LICENSE","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:48.000Z","updated_at":"2025-08-17T09:43:38.000Z","dependencies_parsed_at":"2025-08-19T02:32:20.002Z","dependency_job_id":null,"html_url":"https://github.com/ameerhamzahd/ThriveSecure-Server","commit_stats":null,"previous_names":["ameerhamzahd/thrivesecure-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ameerhamzahd/ThriveSecure-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ameerhamzahd","download_url":"https://codeload.github.com/ameerhamzahd/ThriveSecure-Server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameerhamzahd%2FThriveSecure-Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32745129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-token","jwt","nodejs"],"created_at":"2025-09-07T23:48:34.542Z","updated_at":"2026-05-07T15:48:47.801Z","avatar_url":"https://github.com/ameerhamzahd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThriveSecure Server\n\nThe **ThriveSecure Server** is a secure, scalable backend built with **Node.js** and **Express**, designed to power modern life and health insurance services. It delivers **RESTful APIs** for managing policies, payments, and user data while ensuring **robust JWT-based authentication**, **Firebase Admin** integration, and **Stripe payment processing**. Built for reliability and clarity, it seamlessly supports the ThriveSecure client platform.\n\n---\n\n## Project Overview\n\nThis backend is responsible for:\n\n- Managing insurance policies and user data\n- Handling secure Stripe payment processing\n- JWT \u0026 Firebase-admin protected routes\n- Environment-based secure configuration with `dotenv`\n- Seamless integration with the ThriveSecure client\n\n---\n\n## Frontend Companion\n\n [ThriveSecure Client Repository](https://github.com/ameerhamzahd/ThriveSecure.git)\n\n---\n\n## Features\n\n- REST API with CRUD operations for insurance data\n- Stripe payment integration for premium handling\n- Firebase Admin authentication \u0026 JWT token system\n- CORS-enabled for frontend-backend interaction\n- Environment configuration using `.env`\n- Ready for deployment with `vercel.json`\n\n---\n\n## Tech Stack\n\n- **Runtime**: Node.js\n- **Framework**: Express.js\n- **Database**: MongoDB\n- **Authentication**: Firebase Admin SDK + JWT\n- **Payments**: Stripe SDK\n- **Environment Config**: dotenv\n- **Deployment**: Vercel\n\n---\n\n## NPM Packages Used\n\n### Backend\n\n| Package           | Purpose                                           |\n|-------------------|---------------------------------------------------|\n| `cors`            | Enable cross-origin requests                      |\n| `dotenv`          | Manage environment variables                      |\n| `express`         | Server setup and API endpoints                    |\n| `firebase-admin`  | Firebase server-side integration                  |\n| `mongodb`         | MongoDB client and query management               |\n| `stripe`          | Stripe payment processing                         |\n\n---\n\n## Installation \u0026 Local Development\n\n1. **Clone the repository**:\n    ```bash\n    git clone https://github.com/ameerhamzahd/ThriveSecure-Server.git\n    cd ThriveSecure-Server\n    ```\n\n2. **Install dependencies:**\n    ```bash\n    npm install\n    ```\n\n3. **Set up environment variables:**\n\n    Create a `.env` file and add your variables:\n    ```env\n    DB_USERNAME=your_database_username\n    DB_PASSWORD=your_database_password\n    ACCESS_TOKEN_SECRET=your_jwt_secret\n    STRIPE_SECRET_KEY=your_stripe_secret_key\n    ```\n\n4. **Run locally:**\n    ```bash\n    nodemon index.js\n    ```\n\n---\n\n## Deployment\n\n1. **Install Vercel CLI (if not already):**\n    ```bash\n    npm install -g vercel\n    ```\n\n2. **Login to your Vercel account:**\n    ```bash\n    vercel login\n    ```\n\n3. **Deploy your server:**\n    ```bash\n    vercel --prod\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, and the Node.js ecosystem for powering this project.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameerhamzahd%2Fthrivesecure-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fameerhamzahd%2Fthrivesecure-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameerhamzahd%2Fthrivesecure-server/lists"}