{"id":29024660,"url":"https://github.com/web-hasib/assignment-11-client","last_synced_at":"2026-04-29T23:06:16.310Z","repository":{"id":301115898,"uuid":"1008194820","full_name":"web-hasib/Assignment-11-client","owner":"web-hasib","description":"📚 Virtual Bookshelf - React-based book management platform with Firebase Auth \u0026 MongoDB. Organize, track, and explore your reading journey.","archived":false,"fork":false,"pushed_at":"2025-06-25T07:57:12.000Z","size":323,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T08:36:51.601Z","etag":null,"topics":["firebase","jwt","mongodb","reactjs","reactrouter"],"latest_commit_sha":null,"homepage":"https://virtual-bookshelf-4f14f.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/web-hasib.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-06-25T07:10:20.000Z","updated_at":"2025-06-25T07:57:15.000Z","dependencies_parsed_at":"2025-06-25T08:48:19.145Z","dependency_job_id":null,"html_url":"https://github.com/web-hasib/Assignment-11-client","commit_stats":null,"previous_names":["web-hasib/assignment-11-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/web-hasib/Assignment-11-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-hasib%2FAssignment-11-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-hasib%2FAssignment-11-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-hasib%2FAssignment-11-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-hasib%2FAssignment-11-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-hasib","download_url":"https://codeload.github.com/web-hasib/Assignment-11-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-hasib%2FAssignment-11-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261998007,"owners_count":23242316,"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":["firebase","jwt","mongodb","reactjs","reactrouter"],"created_at":"2025-06-26T04:18:34.262Z","updated_at":"2026-04-29T23:06:16.304Z","avatar_url":"https://github.com/web-hasib.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 Virtual Bookshelf (Client + Server)\n\n**Client Live Site:** [https://virtual-bookshelf-4f14f.web.app/](https://virtual-bookshelf-4f14f.web.app/)\\\n**Server Repository:** [https://github.com/web-hasib/Assignment-11-server](https://github.com/web-hasib/Assignment-11-server)\\\n**Server Live Site:** [https://virtual-bookshelf-server-five.vercel.app/](https://virtual-bookshelf-server-five.vercel.app/)\n\n---\n\nWelcome to **Virtual Bookshelf** — a dynamic web application where users can organize, track, and explore books. Built with React, Tailwind CSS, Firebase Auth, and a MongoDB-backed API, this project demonstrates strong frontend and full-stack capabilities.\n\n---\n\n## 🚀 Project Overview\n\n**Purpose:**\\\nCreate a user-friendly digital bookshelf that allows readers to:\n\n- 📥 Add books to their virtual shelf\n- 💬 Write and manage reviews\n- 📈 Track reading progress\n- 🔼 Upvote and explore popular books\n\n**Why this matters:**\\\nIt helps avid readers organize their reading habits and discover new titles via community input and book stats.\n\n---\n\n## 🧰 Tech Stack\n\n| Area           | Tech                                        |\n| -------------- | ------------------------------------------- |\n| Frontend       | React, Tailwind CSS, Framer Motion          |\n| Backend        | Node.js, Express.js, MongoDB                |\n| Authentication | Firebase (Email/Password, Google)           |\n| Deployment     | Vercel / Firebase (client), Vercel (server) |\n\n---\n\n## 🧑‍💻 Features\n\n- 🔐 Authentication: Login/register using Firebase\n- 📚 Book Management: Add, edit, delete your own books\n- 📈 Profile Chart: See book stats by category\n- 💬 Review System: One review per user per book\n- 🔎 Filter/Search: Search books by title or author, filter by reading status\n- 🔼 Upvote: Vote for favorite books (excluding your own)\n- 🗑️ Routing: Protected/private routes using React Router\n- 🧪 Responsive: Mobile-first design using Tailwind CSS\n- 🔀 Animations: Smooth transitions using Framer Motion\n- 🗂️ Category Filter: Filter books by Fiction, Non-Fiction, Fantasy, Finance\n\n---\n\n## 🌐 Routes and Pages\n\n| Route                  | Description                                                          |\n| ---------------------- | -------------------------------------------------------------------- |\n| `/`                    | Home with banner, popular books, featured categories, extra sections |\n| `/allBooks`            | Public book list with filters and search                             |\n| `/books/:id`           | Book details page (upvote, review, status tracker)                   |\n| `/addBook` 🔒          | Add a new book                                                       |\n| `/editBook/:id` 🔒     | Edit existing book                                                   |\n| `/mybooks` 🔒          | Manage books added by logged-in user                                 |\n| `/profile` 🔒          | User info + pie chart                                                |\n| `/login` / `/register` | Firebase Auth pages                                                  |\n| `*`                    | 404 page with animation and home link                                |\n\n🔒 = Private Route (requires authentication)\n\n---\n\n## 📦 Packages Used (Client Side)\n\n```json\n{\n  \"dependencies\": {\n    \"@headlessui/react\": \"^2.2.4\",\n    \"@lottiefiles/dotlottie-react\": \"^0.14.0\",\n    \"@tailwindcss/vite\": \"^4.1.8\",\n    \"axios\": \"^1.9.0\",\n    \"dotenv\": \"^16.5.0\",\n    \"firebase\": \"^11.9.0\",\n    \"lottie-react\": \"^2.4.1\",\n    \"motion\": \"^12.16.0\",\n    \"react\": \"^19.1.0\",\n    \"react-awesome-reveal\": \"^4.3.1\",\n    \"react-dom\": \"^19.1.0\",\n    \"react-helmet\": \"^6.1.0\",\n    \"react-icons\": \"^5.5.0\",\n    \"react-router\": \"^7.6.2\",\n    \"react-tabs\": \"^6.1.0\",\n    \"recharts\": \"^2.15.3\",\n    \"sweetalert2\": \"^11.22.0\",\n    \"tailwindcss\": \"^4.1.8\"\n  },\n  \"devDependencies\": {\n    \"@eslint/js\": \"^9.25.0\",\n    \"@types/react\": \"^19.1.2\",\n    \"@types/react-dom\": \"^19.1.2\",\n    \"@vitejs/plugin-react\": \"^4.4.1\",\n    \"daisyui\": \"^5.0.43\",\n    \"eslint\": \"^9.25.0\",\n    \"eslint-plugin-react-hooks\": \"^5.2.0\",\n    \"eslint-plugin-react-refresh\": \"^0.4.19\",\n    \"globals\": \"^16.0.0\",\n    \"vite\": \"^6.3.5\"\n  }\n}\n```\n\n---\n\n## 🛠️ Local Setup\n\n### ✅ Client Side Setup\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/web-hasib/Assignment-11-client.git\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Create a `.env` file and add your Firebase configuration and API base URL like:\n\n```env\nVITE_API_URL=http://localhost:5000\nVITE_FIREBASE_API_KEY=your_firebase_api_key\nVITE_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain\nVITE_FIREBASE_PROJECT_ID=your_firebase_project_id\nVITE_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket\nVITE_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id\nVITE_FIREBASE_APP_ID=your_firebase_app_id\n```\n\n4. Run the development server:\n\n```bash\nnpm run dev\n```\n\nClient will run on: `http://localhost:5173/`\n\n---\n\n### ✅ Server Side Setup\n\n1. Clone the server repository:\n\n```bash\ngit clone https://github.com/web-hasib/Assignment-11-server.git\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Create a `.env` file and add:\n\n```env\nPORT=5000\nMONGODB_URI=your_mongodb_connection_string\n```\n\n4. Run the server:\n\n```bash\nnpm start\n```\n\nServer will run on: `http://localhost:5000/`\n\n---\n\n## 🔗 Deployment\n\n- **Client:** Firebase Hosting\n- **Server:** Vercel\n- **Client Live:** [https://virtual-bookshelf-4f14f.web.app/](https://virtual-bookshelf-4f14f.web.app/)\n- **Server Live:** [https://virtual-bookshelf-server-five.vercel.app/](https://virtual-bookshelf-server-five.vercel.app/)\n\n---\n\n## ✨ Author\n\nHasibul Islam\\\n[GitHub Profile](https://github.com/web-hasib)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-hasib%2Fassignment-11-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-hasib%2Fassignment-11-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-hasib%2Fassignment-11-client/lists"}