Tasty Burger is a modern food ordering web application built with React. It provides an interactive and visually appealing platform for users to explore, order, and enjoy delicious meals. The project uses Vite for a fast development environment and React Router for navigation.
- 🍔 Modern UI: Built with Bootstrap and React-Bootstrap for a responsive design.
- 🔍 Interactive Navigation: Utilizes React Router for seamless navigation.
- 📃 Dynamic Components: Organized component structure for maintainability.
- 🌎 SEO Optimized: Proper meta tags for better search visibility.
- 🎨 Styled with Bootstrap: Pre-styled components for a polished look.
- ⚡ Fast Performance: Powered by Vite for rapid development and builds.
- ⭐ Food Rating System: Dynamically calculates star ratings based on user feedback.
- 🔼 Smooth ScrollTop Button: Allows users to smoothly scroll to the top of the page.
- 📂 Dynamic Data Handling: No hardcoded content; all data is managed through the
data
folder.
Here’s a preview of the Hero Section that welcomes users to the Tasty Burger experience. It showcases the branding and sets the tone for the entire site:
DEMO: Take a look at our delicious menu with various food options:
When you hover over any menu card, the 'Add to Cart' button smoothly slides up from the bottom:
DEMO: Explore our online store and mobile app where you can easily place your order:
DEMO: Read feedback from our happy customers who loved the food:
DEMO: Here’s a preview of the Contact section where users can reach out for any inquiries:
src/
├── components/
│ ├── cards/
│ │ ├── Cards.jsx
│ ├── home/
│ │ ├── AboutSection.jsx
│ │ ├── BrandSection.jsx
│ │ ├── ContactSection.jsx
│ │ ├── CopyrightSection.jsx
│ │ ├── HeroSection.jsx
│ │ ├── MenuSection.jsx
│ │ ├── PromotionSection.jsx
│ │ ├── ReviewSection.jsx
│ │ ├── ShopSection.jsx
│ ├── layouts/
│ │ ├── Footer.jsx
│ │ ├── Header.jsx
│ │ ├── Layout.jsx
│ ├── others/
│ │ ├── ScrollTop.jsx
│
├── data/
│ ├── aboutData.jsx
│ ├── burgerData.jsx
│ ├── contentData.jsx
│ ├── reviewData.jsx
│
├── pages/
│ ├── home/
│ │ ├── index.jsx
│
├── styles/
│ ├── HeaderStyle.css
│ ├── HomeStyle.css
│
├── utils/
│ ├── Rating.jsx
│
├── App.jsx
├── main.jsx
├── index.css
Make sure you have the following installed:
git clone https://github.com/Mahmud-Alam/react-food-app.git
cd react-food-app
npm install
npm install react-router-dom@latest react-bootstrap bootstrap react-bootstrap-icons
npm run dev
The app will be available at http://localhost:5173/
.
npm run build
npm run lint
The project is deployed on Vercel for fast and reliable hosting.
🔗 Live Demo: Tasty Burger by Mahmud Alam
- React 19 - Component-based UI
- React Router 7 - Navigation and routing
- Bootstrap 5 & React-Bootstrap - UI styling
- React-Bootstrap Icons - Icons for UI elements
- Vite - Fast development and build tool
- ESLint - Code quality and linting
- React Hooks -
useState
,useEffect
, andforwardRef
for state management and effects - Utility Functions:
Rating
Component: Handles food rating star counts dynamically based on user feedback.ScrollTop
Button: Provides smooth scrolling to the top of the page.Data Folder
: Contains all data for the project, ensuring dynamic handling with no hardcoded text.
<meta name="description" content="Enjoy fresh, delicious, and affordable meals with Tasty Burger by Mahmud Alam. Order online for fast delivery and delicious food!">
<meta name="keywords" content="Mahmud Alam, Tasty Burger, Pocket Kitchen, food delivery, delicious meals, online food order, fast delivery, affordable food">
<meta name="author" content="Mahmud Alam">
<meta name="language" content="English">
<meta name="robots" content="index, follow">
Mahmud Alam
- Portfolio Website: Mahmud Alam
- 📧 mahmudalam.official@gmail.com
- Thanks to the React and Bootstrap communities for making development easier.
- Special appreciation for Vite's incredible performance!
Enjoy coding! 🚀