{"id":29024635,"url":"https://github.com/razaizim1/foodflow-client","last_synced_at":"2026-04-08T20:45:45.430Z","repository":{"id":301159756,"uuid":"1008344954","full_name":"razaizim1/foodflow-client","owner":"razaizim1","description":"This is a client-side application for a food sharing platform, allowing users to browse available food items, add their own food for donation, request food, and manage their donations.","archived":false,"fork":false,"pushed_at":"2025-08-10T13:29:56.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-08T20:45:42.664Z","etag":null,"topics":["api","authentication","css3","firebase","html5","javascript","mongodb","nodejs","react"],"latest_commit_sha":null,"homepage":"https://b11a11-auth.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/razaizim1.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-25T11:58:01.000Z","updated_at":"2025-08-10T13:30:00.000Z","dependencies_parsed_at":"2025-06-25T13:29:57.994Z","dependency_job_id":null,"html_url":"https://github.com/razaizim1/foodflow-client","commit_stats":null,"previous_names":["razaizim1/foodflow-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/razaizim1/foodflow-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razaizim1%2Ffoodflow-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razaizim1%2Ffoodflow-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razaizim1%2Ffoodflow-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razaizim1%2Ffoodflow-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/razaizim1","download_url":"https://codeload.github.com/razaizim1/foodflow-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razaizim1%2Ffoodflow-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","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":["api","authentication","css3","firebase","html5","javascript","mongodb","nodejs","react"],"created_at":"2025-06-26T04:18:30.032Z","updated_at":"2026-04-08T20:45:45.409Z","avatar_url":"https://github.com/razaizim1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Food Share Client Site\n\nThis is a client-side application for a food sharing platform, allowing users to browse available food items, add their own food for donation, request food, and manage their donations.\n\n## Features\n\n*   **User Authentication**: Secure user login and registration.\n*   **Browse Available Foods**: View a list of available food items with details like quantity, pickup location, and expiry date.\n*   **Add Food**: Users can add their own food items for donation, specifying details like name, image, quantity, pickup location, and expiry.\n*   **Request Food**: Authenticated users can request available food items.\n*   **Manage My Foods**: Users can view, update, and delete the food items they have donated.\n*   **Responsive Design**: A user-friendly interface that adapts to various screen sizes.\n\n## Technologies Used\n\n*   **React**: A JavaScript library for building user interfaces.\n*   **Vite**: A fast build tool for modern web projects.\n*   **Tailwind CSS**: A utility-first CSS framework for rapid UI development.\n*   **React Router**: For declarative routing in the application.\n*   **TanStack Query (React Query)**: For efficient data fetching, caching, and synchronization with the server.\n*   **SweetAlert2**: For beautiful, responsive, and customizable alert messages.\n*   **Moment.js**: A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.\n*   **Firebase**: For user authentication.\n\n## Setup and Installation\n\nFollow these steps to set up the project locally:\n\n1.  **Clone the repository**:\n    ```bash\n    git clone \u003crepository_url\u003e\n    cd b11a11-client-site\n    ```\n\n2.  **Install dependencies**:\n    ```bash\n    npm install\n    ```\n\n3.  **Environment Variables**:\n    Create a `.env` file in the root of the `b11a11-client-site` directory and add your Firebase configuration (if applicable) and any other client-side environment variables.\n\n    ```\n    # Example .env content (replace with your actual Firebase config)\n    VITE_API_KEY=your_firebase_api_key\n    VITE_AUTH_DOMAIN=your_firebase_auth_domain\n    VITE_PROJECT_ID=your_firebase_project_id\n    VITE_STORAGE_BUCKET=your_firebase_storage_bucket\n    VITE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id\n    VITE_APP_ID=your_firebase_app_id\n    ```\n\n## Running the Application\n\nTo start the development server:\n\n```bash\nnpm run dev\n```\n\n👉 Live Demo https://b11a11-auth.web.app/\n\nThe application will be accessible at `http://localhost:5173` (or another port if 5173 is in use).\n\n## Deployment\n\nThis application can be deployed to platforms like Vercel or Firebase Hosting. Ensure that:\n*   The API endpoints in `src/api/myFoodApi.js` and other components point to your deployed server URL (e.g., `https://your-server-app.vercel.app`).\n*   Your server's CORS policy (in `b11a11-server-site/index.js`) allows requests from your deployed client-side URL.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazaizim1%2Ffoodflow-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frazaizim1%2Ffoodflow-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazaizim1%2Ffoodflow-client/lists"}