{"id":25180858,"url":"https://github.com/tahsinalahi/getpet-client","last_synced_at":"2026-04-12T12:44:28.179Z","repository":{"id":275427442,"uuid":"926048842","full_name":"TahsinAlahi/getpet-client","owner":"TahsinAlahi","description":"GetPet is a user-friendly pet adoption platform where users can explore, add, and manage pets. It features a robust dashboard, secure authentication, role-based access, and a responsive design for a seamless experience.","archived":false,"fork":false,"pushed_at":"2025-02-02T12:36:09.000Z","size":30947,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T16:02:24.476Z","etag":null,"topics":["dashboard","firebase","pagination","react-router","react-table","reactjs","tanstack-query","tanstack-table"],"latest_commit_sha":null,"homepage":"https://getpet-adoption.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/TahsinAlahi.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-02-02T12:32:09.000Z","updated_at":"2025-02-02T13:57:28.000Z","dependencies_parsed_at":"2025-02-02T13:44:12.776Z","dependency_job_id":null,"html_url":"https://github.com/TahsinAlahi/getpet-client","commit_stats":null,"previous_names":["tahsinalahi/getpet-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TahsinAlahi/getpet-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TahsinAlahi%2Fgetpet-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TahsinAlahi%2Fgetpet-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TahsinAlahi%2Fgetpet-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TahsinAlahi%2Fgetpet-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TahsinAlahi","download_url":"https://codeload.github.com/TahsinAlahi/getpet-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TahsinAlahi%2Fgetpet-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259843314,"owners_count":22920306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dashboard","firebase","pagination","react-router","react-table","reactjs","tanstack-query","tanstack-table"],"created_at":"2025-02-09T16:19:46.304Z","updated_at":"2026-04-12T12:44:23.140Z","avatar_url":"https://github.com/TahsinAlahi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [GetPet Client](https://getpet-adoption.vercel.app/)\n\n[**GetPet**](https://getpet-adoption.vercel.app/) is a modern pet adoption platform allowing users to list, adopt, and manage pet adoption campaigns. This repository contains the client-side code, built with React, Vite, and other cutting-edge technologies for an engaging and responsive user experience.\n\n---\n\n## Table of Contents\n\n- [Features](#features)\n- [Routes](#routes)\n- [Getting Started](#getting-started)\n- [Installation](#installation)\n- [Environment Variables](#environment-variables)\n- [Scripts](#scripts)\n- [Dependencies](#dependencies)\n- [Dev Dependencies](#dev-dependencies)\n- [Backend Repository](#backend-repository)\n- [License](#license)\n- [Author](#author)\n\n---\n\n## Features\n\n- **Pet Listings**: View available pets for adoption.\n- **Pet Details**: Detailed information about each pet.\n- **User Authentication**: Secure login and registration.\n- **Pet Management**: Add, edit, and delete pets.\n- **Donation Campaigns**: Create and manage campaigns.\n- **Admin Panel**: Manage users, campaigns, and all pets.\n- **Responsive Design**: Optimized for desktop, tablet, and mobile devices.\n- **Smooth Animations**: Leveraging Lottie for enhanced user interactions.\n- **Stripe Integration**: Secure donation system.\n\n---\n\n## Routes\n\n### Public Routes\n\n- `/`: Homepage\n- `/pet-listing`: List of pets available for adoption\n- `/pet-details/:id`: Detailed view of a specific pet\n- `/donation-campaigns`: View all donation campaigns\n- `/campaign-details/:id`: Details of a specific campaign\n- `/login`: Login page\n- `/register`: Registration page\n\n### Protected Routes\n\n- `/dashboard`: User dashboard\n  - `add-pet`: Add a new pet\n  - `edit-pet/:id`: Edit a pet\n  - `added-pets`: View user's added pets\n  - `create-donation-campaign`: Create a donation campaign\n  - `edit-campaign/:id`: Edit a donation campaign\n  - `my-campaigns`: View user's donation campaigns\n  - `adoption-request`: View adoption requests\n  - `my-donations`: View user's donation history\n\n### Admin Routes\n\n- `/dashboard`\n  - `users`: Manage users\n  - `all-pets`: Manage all pets\n  - `all-campaigns`: Manage all campaigns\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- **Node.js** (v14 or later)\n- **Vite** (optional but recommended)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/TahsinAlahi/getpet-client.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd getpet-client\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n4. Create a `.env` file:\n\n   ```bash\n   touch .env\n   ```\n\n5. Add environment variables to the `.env` file (see the [Environment Variables](#environment-variables) section).\n\n---\n\n## Environment Variables\n\nCreate a `.env` file in the root directory and add the following variables:\n\n```env\nVITE_API_KEY=your-firebase-api-key\nVITE_AUTH_DOMAIN=your-firebase-auth-domain\nVITE_PROJECT_ID=your-firebase-project-id\nVITE_STORAGE_BUCKET=your-firebase-storage-bucket\nVITE_MESSAGING_SENDER_ID=your-firebase-messaging-sender-id\nVITE_APP_ID=your-firebase-app-id\nVITE_STRIPE_PUBLISHABLE_KEY=your-stripe-publishable-key\nVITE_API_URL=your-api-endpoint\nVITE_IMAGE_BB_API_KEY=your-image-bb-api-key\n```\n\n---\n\n## Scripts\n\n- **Start development server**:\n\n  ```bash\n  npm run dev\n  ```\n\n  Runs the app in development mode and watches for file changes.\n\n- **Build for production**:\n\n  ```bash\n  npm run build\n  ```\n\n  Creates an optimized production build.\n\n- **Preview production build**:\n\n  ```bash\n  npm run preview\n  ```\n\n  Serves the production build locally for testing.\n\n- **Lint the code**:\n\n  ```bash\n  npm run lint\n  ```\n\n  Checks the code for linting errors and enforces coding standards.\n\n---\n\n## Dependencies\n\n- **[@stripe/react-stripe-js](https://www.npmjs.com/package/@stripe/react-stripe-js)**: Stripe integration for React.\n- **[@tanstack/react-query](https://www.npmjs.com/package/@tanstack/react-query)**: Data fetching and caching.\n- **[axios](https://www.npmjs.com/package/axios)**: HTTP client for API requests.\n- **[firebase](https://www.npmjs.com/package/firebase)**: Authentication and database integration.\n- **[lottie-react](https://www.npmjs.com/package/lottie-react)**: Lottie animations for React.\n- **[react](https://www.npmjs.com/package/react)**: JavaScript library for building user interfaces.\n- **[react-hook-form](https://www.npmjs.com/package/react-hook-form)**: Forms and validation.\n- **[react-router-dom](https://www.npmjs.com/package/react-router-dom)**: Routing library for React.\n- **[react-toastify](https://www.npmjs.com/package/react-toastify)**: Toast notifications.\n- **[swiper](https://www.npmjs.com/package/swiper)**: Modern touch slider.\n\n---\n\n## Dev Dependencies\n\n- **[@vitejs/plugin-react](https://www.npmjs.com/package/@vitejs/plugin-react)**: Vite plugin for React support.\n- **[tailwindcss](https://www.npmjs.com/package/tailwindcss)**: Utility-first CSS framework.\n- **[eslint](https://www.npmjs.com/package/eslint)**: Linting for JavaScript and React.\n- **[postcss](https://www.npmjs.com/package/postcss)**: Tool for transforming CSS.\n- **[vite](https://www.npmjs.com/package/vite)**: Lightning-fast development environment.\n\n---\n\n## Backend Repository:\n\nCheck out the backend repository: [**GetPet Server**](https://github.com/TahsinAlahi/GetPet-Server)\n\n---\n\n## License\n\nThis project is licensed under the ISC License.\n\n---\n\n## Author\n\n- **Tahsin Alahi**\n  - [GitHub](https://github.com/TahsinAlahi)\n  - [LinkedIn](https://www.linkedin.com/in/TahsinAlahi/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahsinalahi%2Fgetpet-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftahsinalahi%2Fgetpet-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahsinalahi%2Fgetpet-client/lists"}