{"id":20516853,"url":"https://github.com/nishathub/restaurant-project","last_synced_at":"2026-04-15T00:31:31.386Z","repository":{"id":258915686,"uuid":"843430919","full_name":"nishathub/restaurant-project","owner":"nishathub","description":"A full-stack MERN restaurant web app with user authentication, Stripe payments, role-based admin panel, secure CRUD operations, analytics dashboard with Recharts, and custom-built UI components like alerts, modals, and loaders.","archived":false,"fork":false,"pushed_at":"2025-07-23T09:46:16.000Z","size":13897,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T11:37:30.597Z","etag":null,"topics":["axios","custom-hooks","express-js","full-stack-web-development","jwt-authentication","mern-stack","mongodb","node-js","react","responsive-design","role-based-access-control","secure-api"],"latest_commit_sha":null,"homepage":"https://savouryum.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/nishathub.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":"2024-08-16T13:54:28.000Z","updated_at":"2025-07-23T09:46:21.000Z","dependencies_parsed_at":"2025-07-23T11:23:50.731Z","dependency_job_id":"bdb36003-04e3-4b4e-8393-5c54bc2fee3f","html_url":"https://github.com/nishathub/restaurant-project","commit_stats":null,"previous_names":["nishathub/restaurant-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nishathub/restaurant-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishathub%2Frestaurant-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishathub%2Frestaurant-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishathub%2Frestaurant-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishathub%2Frestaurant-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nishathub","download_url":"https://codeload.github.com/nishathub/restaurant-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishathub%2Frestaurant-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31821405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"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":["axios","custom-hooks","express-js","full-stack-web-development","jwt-authentication","mern-stack","mongodb","node-js","react","responsive-design","role-based-access-control","secure-api"],"created_at":"2024-11-15T21:32:04.658Z","updated_at":"2026-04-15T00:31:31.379Z","avatar_url":"https://github.com/nishathub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Stack Restaurant Management App\n\nA full-featured restaurant web application built with the MERN stack. This app allows customers to browse the menu, register/login, add items to their cart, and make secure payments using Stripe. Admins have access to a dashboard with analytics, user management, and full control over the menu system.\n\n---\n\n## Features\n\n### Authentication \u0026 Authorization\n- JWT-based user authentication\n- Role-based access control (Admin/User)\n- Admin routes are protected on both frontend and backend\n\n### Customer Features\n- Account creation \u0026 login\n- Browse restaurant menu\n- Add/remove items to cart\n- Stripe payment integration\n\n### Admin Panel\n- View dashboard analytics using Recharts\n- Add, edit, delete menu items\n- Manage users: promote/demote roles, delete users/admins\n\n### Dashboard \u0026 Analytics\n- Dynamic charts with `recharts`\n- Stats on users, menu etc.\n\n### Tech Stack\n\n| Frontend        | Backend           | Database | Other Tools         |\n|----------------|-------------------|----------|----------------------|\n| React.js        | Node.js + Express | MongoDB  | Stripe  |\n| Tailwind CSS    | JWT Auth          |  | Recharts, Axios      |\n| Custom Components | MongoDB Aggregation |   | Custom Hooks \u0026 Alerts |\n\n---\n\n## Custom Components\n\n-  **Custom Alert System** – Dynamic pop-up alerts for feedback\n-  **Loading Spinner** – Indicates ongoing async operations\n-  **Custom Delete Modal** – Confirm before deletion actions\n-  **Axios Instance Hook** – Handles secure API requests with JWT\n-  Admin routes secured by frontend middleware\n\n---\n\n## Backend Highlights\n\n- RESTful APIs with Express.js\n- Advanced MongoDB operations:\n  - `$lookup`, `$unwind`, `$group`, `$aggregate`\n- Role-based route protection\n- ImageBB API integration for image handling\n\n---\n\n## Roadmap\n\n- [ ] Email notifications for order confirmations\n- [ ] Multi-image upload for menu items\n- [ ] Enhanced order tracking system\n- [ ] Admin activity logs\n- [ ] Pagination and search functionality for admin tables\n- [ ] User profile page with order history\n\n---\n\n## Author\n\n**Ashraf Ali**  \nMERN Stack Developer  \n\n- [Portfolio](https://ashraf-portfolio-wd.web.app)\n- [Resume](https://docs.google.com/document/d/1Z7rp08uI8xHl0tulbbvn0-K1c9otI0mfOo34c2c8djM/edit?usp=sharing) \n- [LinkedIn Profile](https://www.linkedin.com/in/ashrafalibutex42)  \n- [Github Profile](https://github.com/nishathub)  \n- [Email](mailto:ashraf.ali.butex42@gmail.com)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishathub%2Frestaurant-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnishathub%2Frestaurant-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishathub%2Frestaurant-project/lists"}