Welcome to the Restaurant Management Website! This project aims to create a modern, user-friendly platform to enhance restaurant operations and improve customer experience. Built with the MERN stack (MongoDB, Express.js, React.js, and Node.js), it focuses on features like online food management, ordering, and staff coordination.
- [Client Repository]
- [Server Repository]
- Fully responsive on mobile, tablet, and desktop
- Optimized layouts with proper alignment and spacing
- Pleasing color contrast for accessibility
- Email and password-based login and registration
- Google login integration
- Password validation:
- Must include uppercase, lowercase letters
- Minimum length: 6 characters
- Secure Firebase configuration and MongoDB credentials using environment variables
- Secure private routes using JWT
- Tokens are stored on the client side for both email/password and social login
- Light and dark mode toggle for a personalized experience
- Website name/logo
- Home, All Foods, Gallery, and Conditional Login/Logout
- Profile image dropdown for logged-in users with links to:
- My Foods
- Add Food
- My Orders
- Banner Section with informative slider and call-to-action button
- Top Foods Section:
- Displays top 6 best-selling food items
- Details button for each item
- "See All" button navigates to All Foods page
- Two additional engaging sections
- Search functionality to filter foods by name
- Cards displaying all food items with essential details
- Pagination (9 items per page)
- Comprehensive food item details
- Purchase count tracking
- Smart purchase button functionality
- Detailed purchase form with:
- Food details (name, price, quantity)
- Auto-filled buyer information
- Automatic date stamping
- Database integration and success notifications
- 10+ images with hover overlay
- Lightbox functionality
- Infinite scrolling with animations
- User-specific food item management
- Secure update functionality
- Comprehensive food addition form
- Success notifications
- User-specific order history
- Moment.js formatted dates
- Order deletion capability
- React.js
- Tailwind CSS
- Firebase Authentication
- React Router DOM
- Tanstack Query
- Node.js
- Express.js
- MongoDB
- JWT
- Framer Motion
- SweetAlert
- Yet-Another-React-Lightbox
- Moment.js
- 15+ meaningful client-side commits
- 8+ meaningful server-side commits
- Descriptive commit messages
- Environment variable protection
- JWT implementation
- Secure authentication flows
- Node.js
- MongoDB
- Firebase project
-
Clone repositories:
git clone <client-repo-url> git clone <server-repo-url>
-
Install dependencies:
# Client setup cd client npm install # Server setup cd ../server npm install
-
Configure environment variables:
- Create
.envin client directory - Create
.envin server directory
- Create
-
Start development servers:
# Client cd client npm start # Server cd ../server npm run dev
-
Access at http://localhost:3000
We welcome contributions! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.# FlavorFusion
