{"id":29721185,"url":"https://github.com/nirobsarker012/restaurant-client","last_synced_at":"2025-10-07T10:52:54.938Z","repository":{"id":299206166,"uuid":"1002345970","full_name":"nirobsarker012/restaurant-client","owner":"nirobsarker012","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-10T14:07:40.000Z","size":24583,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T18:24:04.087Z","etag":null,"topics":["expressjs","firebase","javascript","mongodb","reactjs","tailwindcss"],"latest_commit_sha":null,"homepage":"https://ns-restaurant-management.netlify.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/nirobsarker012.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-15T09:13:18.000Z","updated_at":"2025-09-10T14:07:43.000Z","dependencies_parsed_at":"2025-09-10T16:14:44.260Z","dependency_job_id":null,"html_url":"https://github.com/nirobsarker012/restaurant-client","commit_stats":null,"previous_names":["nirobsarker012/restaurant-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nirobsarker012/restaurant-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirobsarker012%2Frestaurant-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirobsarker012%2Frestaurant-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirobsarker012%2Frestaurant-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirobsarker012%2Frestaurant-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nirobsarker012","download_url":"https://codeload.github.com/nirobsarker012/restaurant-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirobsarker012%2Frestaurant-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278762921,"owners_count":26041444,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["expressjs","firebase","javascript","mongodb","reactjs","tailwindcss"],"created_at":"2025-07-24T14:30:54.858Z","updated_at":"2025-10-07T10:52:54.932Z","avatar_url":"https://github.com/nirobsarker012.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍽️ Restaurant Management Website\n\nA full-featured, modern, and responsive Restaurant Management system built with the MERN stack. This web application provides a seamless platform for customers to browse, search, and purchase foods, while allowing restaurant admins to manage inventory and orders efficiently..\n\n## 🌐 Live Site\n\n🔗 **Live Website:** [https://ns-restaurant-management.netlify.app/]\n\n## 🧩 Project Purpose\n\nThe goal of this project is to demonstrate the implementation of a real-world full-stack application using MongoDB, Express.js, React.js, and Node.js. It enables both customer-side food ordering functionalities and admin-side food management tools. The platform ensures secure authentication, responsive layout, and enhanced user experience.\n\n---\n\n## 🚀 Features\n\n- ✅ Firebase authentication (Email/Password \u0026 Google Login)\n- ✅ JWT-based secure access for private routes\n- ✅ Display and search all foods with quantity filtering\n- ✅ Add, update, and manage foods (by the uploader only)\n- ✅ Purchase flow with real-time stock control\n- ✅ \"Top Foods\" section based on purchase count\n- ✅ View orders and delete items\n- ✅ Image gallery with lightbox functionality\n- ✅ Theme toggle (light/dark)\n- ✅ Loading spinners and toast alerts\n- ✅ Mobile, tablet, and desktop responsive\n- ✅ Framer Motion animations\n- ✅ Moment.js for date formatting\n- ✅ Server-side filtering using MongoDB queries\n\n---\n\n## 📁 Pages and Components\n\n- **Home Page:** Banner, top foods, testimonials, and features section.\n- **All Foods Page:** List of all food items with search and filter functionality.\n- **Single Food Page:** Shows complete details and allows purchases.\n- **Purchase Page (Private):** Purchase form with validation and restrictions.\n- **Add Food (Private):** Form to add new food items by authenticated users.\n- **My Foods (Private):** View and update foods added by the user.\n- **My Orders (Private):** View all orders made by the logged-in user.\n- **Gallery Page:** Responsive gallery with zoomable images.\n- **Authentication Pages:** Login and Register with form validation.\n- **Navbar \u0026 Footer:** Persistent across all pages with dynamic links based on auth state.\n\n---\n\n## 🧪 Technologies Used\n\n### Frontend:\n- React.js\n- Tailwind CSS + DaisyUI\n- React Router DOM\n- Firebase Authentication\n- React Hook Form\n- SweetAlert2 / React Toastify\n- Framer Motion\n- Moment.js\n- yet-another-react-lightbox\n- TanStack Query (optional)\n\n### Backend:\n- Node.js\n- Express.js\n- MongoDB + Mongoose\n- JWT (jsonwebtoken)\n- dotenv, cors\n\n---\n\n## 🔐 Environment Variables\n\n### On Client (`.env`):\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirobsarker012%2Frestaurant-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnirobsarker012%2Frestaurant-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirobsarker012%2Frestaurant-client/lists"}