{"id":23904962,"url":"https://github.com/rakibul58/phone-heaven-client","last_synced_at":"2026-04-08T12:34:07.356Z","repository":{"id":106824214,"uuid":"572923172","full_name":"rakibul58/phone-heaven-client","owner":"rakibul58","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-23T04:54:29.000Z","size":719,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T11:44:58.603Z","etag":null,"topics":["css","daisyui","express","heroicons","html","jwt","mongodb","nodejs","reacthookform","reacthottoast","reactjs","reactrouter","stripe","tailwindcss","tanstack-react-query"],"latest_commit_sha":null,"homepage":"https://phone-heaven.web.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/rakibul58.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":"2022-12-01T10:18:45.000Z","updated_at":"2024-11-23T04:54:33.000Z","dependencies_parsed_at":"2023-07-08T14:31:23.922Z","dependency_job_id":null,"html_url":"https://github.com/rakibul58/phone-heaven-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rakibul58/phone-heaven-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibul58%2Fphone-heaven-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibul58%2Fphone-heaven-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibul58%2Fphone-heaven-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibul58%2Fphone-heaven-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rakibul58","download_url":"https://codeload.github.com/rakibul58/phone-heaven-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibul58%2Fphone-heaven-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31556234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["css","daisyui","express","heroicons","html","jwt","mongodb","nodejs","reacthookform","reacthottoast","reactjs","reactrouter","stripe","tailwindcss","tanstack-react-query"],"created_at":"2025-01-05T00:48:10.411Z","updated_at":"2026-04-08T12:34:07.323Z","avatar_url":"https://github.com/rakibul58.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phone Heaven\n\n[Live Site](https://phone-heaven.web.app/)\n\nA full-stack MERN marketplace application for buying and selling used mobile phones. This repository contains the client-side code.\n\n## Features\n\n- 🔐 User Authentication with Firebase\n- 👥 Role-based Access Control (Admin, Seller, Buyer)\n- 📱 Browse and Search Used Phones\n- 💰 Secure Payment Integration with Stripe\n- 🎨 Responsive Design with Tailwind CSS \u0026 DaisyUI\n- 📝 Product Management for Sellers\n- 🛡️ Protected Routes\n- 📊 Dashboard for Different User Roles\n\n## Tech Stack\n\n- React 18\n- React Router DOM v6\n- Firebase Authentication\n- Tailwind CSS\n- DaisyUI Components\n- TanStack Query (React Query)\n- Stripe Payment Integration\n- Axios\n- React Hook Form\n- React Hot Toast\n- React Helmet\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14 or higher)\n- npm or yarn\n- Firebase account\n- Stripe account\n- ImgBB account for image hosting\n\n### Installation\n\n1. Clone the repository\n```bash\ngit clone https://github.com/rakibul58/phone-heaven-client.git\ncd mobile-heaven-client\n```\n\n2. Install dependencies\n```bash\nnpm install\n```\n\n3. Environment Variables\n\nCreate a `.env` file in the root directory:\n```env\nREACT_APP_apiKey=\nREACT_APP_authDomain=\nREACT_APP_projectId=\nREACT_APP_storageBucket=\nREACT_APP_messagingSenderId=\nREACT_APP_appId=\nREACT_APP_imgbb_key=\nREACT_APP_STRIPE_PK=\n```\n\n4. Start the development server\n```bash\nnpm start\n```\n\n## Project Structure\n\n```\nsrc/\n├── components/          # Reusable components\n├── contexts/           # Context providers\n├── hooks/              # Custom hooks\n├── layouts/            # Page layouts\n├── pages/             # Page components\n├── routes/            # Route configurations\n└── firebase/          # Firebase configuration\n```\n\n## Available Scripts\n\n```bash\n# Start the development server\nnpm start\n\n# Build for production\nnpm start\n\n# Run tests\nnpm test\n\n# Eject from Create React App\nnpm run eject\n```\n\n## Contributing\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Deployment\n\nThe application can be deployed on Netlify or Vercel:\n\n1. Connect your GitHub repository\n2. Configure build settings:\n   - Build command: `npm run build`\n   - Publish directory: `build`\n3. Set up environment variables in the deployment platform\n4. Deploy!\n\n## Related Projects\n\n- [Mobile Heaven Server](https://github.com/rakibul58/phone-heaven-server) - Backend API repository\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakibul58%2Fphone-heaven-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakibul58%2Fphone-heaven-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakibul58%2Fphone-heaven-client/lists"}