{"id":25339891,"url":"https://github.com/anashany2193/fixithub","last_synced_at":"2026-04-06T21:33:22.470Z","repository":{"id":300287837,"uuid":"920101797","full_name":"AnasHany2193/FixItHub","owner":"AnasHany2193","description":"This project allows users to browse products, request repairs, and interact with service providers. Service providers can bid on repair requests, sell spare parts, and more!","archived":false,"fork":false,"pushed_at":"2025-06-28T13:47:29.000Z","size":55147,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T14:37:58.602Z","etag":null,"topics":["cloudinary","concurrency","mongodb","node","nodemailer","react","react-query"],"latest_commit_sha":null,"homepage":"","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/AnasHany2193.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-01-21T15:11:35.000Z","updated_at":"2025-06-28T13:47:32.000Z","dependencies_parsed_at":"2025-06-20T21:54:34.788Z","dependency_job_id":null,"html_url":"https://github.com/AnasHany2193/FixItHub","commit_stats":null,"previous_names":["anashany2193/fixithub"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/AnasHany2193/FixItHub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FFixItHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FFixItHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FFixItHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FFixItHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnasHany2193","download_url":"https://codeload.github.com/AnasHany2193/FixItHub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FFixItHub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31491097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"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":["cloudinary","concurrency","mongodb","node","nodemailer","react","react-query"],"created_at":"2025-02-14T07:51:01.400Z","updated_at":"2026-04-06T21:33:22.462Z","avatar_url":"https://github.com/AnasHany2193.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FixItHub\n\n[![GitHub Stars](https://img.shields.io/github/stars/AnasHany2193/FixItHub.svg)](https://github.com/AnasHany2193/FixItHub/stargazers)\n[![GitHub Forks](https://img.shields.io/github/forks/AnasHany2193/FixItHub.svg)](https://github.com/AnasHany2193/FixItHub/network)\n[![GitHub Issues](https://img.shields.io/github/issues/AnasHany2193/FixItHub.svg)](https://github.com/AnasHany2193/FixItHub/issues)\n\n## 🌟 Overview\n\nWelcome to **FixItHub**, a dynamic full-stack web platform that connects customers with skilled workers for repair services and powers a vibrant marketplace for products! Hosted at [FixItHub GitHub](https://github.com/AnasHany2193/FixItHub), FixItHub offers a seamless experience for managing repair requests, selling products, and overseeing platform operations. With role-based access for customers, workers, and admins, it ensures tailored functionality for each user. Featuring a sleek, portfolio-style interface with smooth animations, FixItHub is built for usability and scalability. Whether you're fixing a broken appliance or shopping for tools, FixItHub has you covered! 🚀\n\n## 🚀 Features\n\n### 👥 User Management\n\n- **Authentication \u0026 Authorization**: Secure registration and login using JWT-based authentication 🔒.\n- **Role-Based Access**: Supports three roles—customers, workers, and admins—with specific permissions for each.\n- **Profile Management**: Users can update personal details, including avatars, addresses, social media links, and worker-specific information like skills and certifications ✏️.\n- **Public Profiles**: Customers can view worker profiles (skills, ratings), and workers can view customer profiles (ratings, bio), with role-based restrictions 👀.\n\n### 🛠️ Repair Services\n\n- **Repair Requests**: Customers submit detailed requests with descriptions and images, trackable at `/repairs/history` 📋.\n- **Worker Applications**: Workers apply with skills, certifications, and work history, pending admin approval at `/admin/users` ✅.\n- **Assignment Options**: Supports auction-style bidding (`/repairs/auctions`) and direct offers (`/repairs/direct-offers`) for flexible repair assignments 💰.\n- **Repair Tracking**: Real-time status updates (e.g., \"Awaiting Assignment\", \"Completed\") ⏳.\n- **Reviews**: Customers rate and review workers post-service, enhancing trust ⭐.\n\n### 🛒 Marketplace\n\n- **Product Listings**: Workers list items with images, descriptions, and prices at `/marketplace/new-product` 🏷️.\n- **Shopping**: Customers browse, filter, and purchase products at `/marketplace/products` 🛍️.\n- **Cart \u0026 Favorites**: Add items to cart or favorites for easy access ❤️.\n- **Order Management**: Track order statuses (e.g., \"Pending\", \"Shipped\") at `/marketplace/orders` 📦.\n- **Reviews**: Rate and review purchased products to share feedback 🌟.\n\n### 🖥️ Admin Panel\n\n- **Dashboard**: Displays system-wide stats (users, repairs, products, orders, reviews) and recent activities at `/admin-dashboard` 📊.\n- **User Management**: Admins can ban, activate, or approve worker applications at `/admin/users` 👮.\n- **Content Oversight**: Manage repairs (`/admin/repairs`), products (`/admin/products`), orders (`/admin/orders`), and reviews (`/admin/reviews`) with delete capabilities 🗑️.\n- **Logs**: Track admin actions (e.g., user bans, content deletions) at `/admin/logs` for transparency 📜.\n\n### 🎨 Additional Features\n\n- **Responsive Design**: Optimized for mobile and desktop with Tailwind CSS 📱💻.\n- **Animations**: Smooth transitions and hover effects using Framer Motion ✨.\n- **File Uploads**: Supports image uploads for avatars, repair photos, and product images 🖼️.\n- **Notifications**: Toast alerts for success and error messages 🔔.\n\n## 📸 Screenshots\n\nExplore FixItHub's user interface through these screenshots, available in the [screenshots/](https://github.com/AnasHany2193/FixItHub/tree/main/screenshots) directory:\n\n- [Customer Dashboard](https://github.com/AnasHany2193/FixItHub/blob/main/screenshots/customer-dashboard.png): View repair and order summaries 🖥️.\n- [Worker Dashboard](https://github.com/AnasHany2193/FixItHub/blob/main/screenshots/Customer/dashboard-light.png): Monitor active repairs and product sales 📈.\n- [Admin Dashboard](https://github.com/AnasHany2193/FixItHub/blob/main/screenshots/Admin/dashboard-light.png): System stats and management tools 📊.\n- [Repair Request Form](https://github.com/AnasHany2193/FixItHub/blob/main/screenshots/Customer/Repairs/1-repairs-new-light.png): Submit repair details with ease 🔧.\n- [Product Listing](https://github.com/AnasHany2193/FixItHub/blob/main/screenshots/Customer/Products/1-products-light.png): Browse marketplace products 🛒.\n\n## 🛠️ Technologies Used\n\n| **Component** | **Technology**     | **Purpose**                              |\n| ------------- | ------------------ | ---------------------------------------- |\n| **Backend**   | Node.js            | Server-side JavaScript runtime ⚙️        |\n|               | Express.js         | RESTful API framework 🌐                 |\n|               | MongoDB (Mongoose) | NoSQL database with schema management 🗄️ |\n|               | JWT                | Secure authentication tokens 🔑          |\n|               | Bcrypt             | Password hashing 🔐                      |\n|               | Validator          | Input validation (emails, URLs) ✅       |\n|               | Local Storage      | Image uploads 📸                         |\n| **Frontend**  | React              | Dynamic user interfaces ⚛️               |\n|               | React Router       | Client-side navigation 🧭                |\n|               | Tailwind CSS       | Utility-first styling 🎨                 |\n|               | shadcn/ui          | Reusable UI components 🧩                |\n|               | Framer Motion      | Smooth animations 🌈                     |\n|               | React Query        | Data fetching and caching ⚡             |\n|               | Axios              | API requests 📡                          |\n|               | Lucide React       | Icon library 🎯                          |\n| **Dev Tools** | Git                | Version control 🗂️                       |\n|               | ESLint, Prettier   | Code linting and formatting 🧹           |\n\n## 📦 Installation\n\nTo run FixItHub locally:\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/AnasHany2193/FixItHub.git\n   cd FixItHub\n   ```\n\n2. **Install Dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n3. **Set Up Environment Variables**:\n\n   - Create a `.env` file in the root:\n     ```env\n     MONGO_URI=mongodb://localhost:27017/fixithub\n     JWT_SECRET=your_jwt_secret_key\n     BASE_URL=http://localhost:5000\n     ```\n   - Ensure MongoDB is running locally or use [MongoDB Atlas](https://www.mongodb.com/cloud/atlas).\n\n4. **Start the Application**:\n\n   - Development mode:\n     ```bash\n     npm run dev\n     ```\n   - Production mode:\n     ```bash\n     npm start\n     ```\n\n5. **Access the Application**:\n   - Open [http://localhost:5000](http://localhost:5000) in your browser 🌐.\n\n## 🎯 Usage\n\n### Customers\n\n- **Sign Up/Login**: Register at `/register` or log in at `/login`.\n- **Request Repairs**: Submit details at `/repairs/new` 🔧.\n- **Browse Workers**: View profiles at `/users/:id` to check skills and ratings.\n- **Shop Marketplace**: Explore products at `/marketplace/products`, add to cart, and purchase 🛒.\n- **Track Activity**: Monitor repairs at `/repairs/history` and orders at `/marketplace/orders`.\n- **Leave Reviews**: Rate workers and products post-service or purchase ⭐.\n\n### Workers\n\n- **Apply as Worker**: Submit skills and certifications at `/profile` 🛠️.\n- **Manage Repairs**: Accept jobs at `/repairs/auctions` or `/repairs/direct-offers`.\n- **Sell Products**: List items at `/marketplace/new-product`.\n- **View Customers**: Check profiles at `/users/:id`.\n\n### Admins\n\n- **Dashboard**: View stats and activities at `/admin-dashboard` 📈.\n- **Manage Users**: Ban, activate, or approve workers at `/admin/users` 👥.\n- **Oversee Content**: Handle repairs (`/admin/repairs`), products (`/admin/products`), orders (`/admin/orders`), and reviews (`/admin/reviews`).\n- **View Logs**: Monitor admin actions at `/admin/logs` 📝.\n\n## 📁 Project Structure\n\n```\nFixItHub/\n├── backend/\n│   ├── controllers/         # API logic (e.g., userController.js)\n│   ├── models/             # Mongoose schemas (e.g., User.js)\n│   ├── routes/             # Express routes (e.g., userRoutes.js)\n│   ├── middleware/         # Authentication and role-based middleware\n│   └── utils/              # Utilities (e.g., localImageUpload.js)\n├── frontend/\n│   ├── src/\n│   │   ├── api/            # API clients (e.g., user.js)\n│   │   ├── components/     # Reusable UI components (e.g., HeaderPages.jsx)\n│   │   ├── hooks/          # React Query hooks (e.g., useUser.js)\n│   │   ├── pages/          # Page components (e.g., UserProfilePage.jsx)\n│   │   ├── layouts/        # Layout components (e.g., DashboardLayout.jsx)\n│   │   └── context/        # Context providers (e.g., AuthContext.js)\n├── screenshots/            # UI screenshots (e.g., customer-dashboard.png)\n├── .env                    # Environment variables\n├── package.json            # Dependencies and scripts\n└── README.md               # Project documentation\n```\n\n## 🤝 Contributing\n\nWe welcome contributions to FixItHub! To get started:\n\n1. **Fork the Repository**:\n\n   ```bash\n   git clone https://github.com/AnasHany2193/FixItHub.git\n   ```\n\n2. **Create a Branch**:\n\n   ```bash\n   git checkout -b feature/your-cool-idea\n   ```\n\n3. **Make Changes**:\n\n   - Write clean, documented code.\n   - Follow ESLint and Prettier standards.\n   - Add tests for new features or fixes.\n\n4. **Commit Changes**:\n\n   - Use conventional commits (e.g., `feat: add new feature`, `fix: resolve bug`).\n\n   ```bash\n   git commit -m \"feat: add my cool idea 🌟\"\n   ```\n\n5. **Submit a Pull Request**:\n   - Push your branch and create a pull request at [GitHub Pull Requests](https://github.com/AnasHany2193/FixItHub/pulls).\n   - Provide a clear description of your changes.\n\n## 👥 Team Members\n\n| Role              | Team Member                                          | Focus Area              |\n| ----------------- | ---------------------------------------------------- | ----------------------- |\n| 🎨 UI/UX Designer | [Mariam Zaki](https://github.com/maryem-zaky)        | User Experience Design  |\n| 💻 Frontend Dev   | [Afnan Raafat](https://github.com/afnan-raafat)      | React Implementation    |\n| 📱 Mobile Dev     | [Islam Sobhi](https://github.com/Islam-Sobhy-Yousof) | Flutter Applications    |\n| 🌐 Full Stack Dev | [Anas Hany](https://github.com/AnasHany2193)         | MERN Stack Architecture |\n\n---\n\n**Made with ♥ by Team FixItHub**  \n_Empowering repairs, connecting communities_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Ffixithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanashany2193%2Ffixithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Ffixithub/lists"}