Skip to content

Mahmud-Alam/react-food-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

77 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Tasty Burger - React Food App

πŸ“Œ Project Overview

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.


πŸš€ Features

  • πŸ” 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.

πŸ“Έ Project Screenshots

Home Page Hero Section

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:

Hero Section

Menu Section

DEMO: Take a look at our delicious menu with various food options:

Menu 1

When you hover over any menu card, the 'Add to Cart' button smoothly slides up from the bottom: Menu 2

Shop Section

DEMO: Explore our online store and mobile app where you can easily place your order:

Shop Section

Reviews Section

DEMO: Read feedback from our happy customers who loved the food:

Reviews

Contact Section

DEMO: Here’s a preview of the Contact section where users can reach out for any inquiries:

Contact Section


πŸ—οΈ Project Structure

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

πŸ”§ Installation & Setup

Prerequisites

Make sure you have the following installed:

Clone the Repository

git clone https://github.com/Mahmud-Alam/react-food-app.git
cd react-food-app

Install Dependencies

npm install

Install Required Packages

npm install react-router-dom@latest react-bootstrap bootstrap react-bootstrap-icons

Run the Project

npm run dev

The app will be available at http://localhost:5173/.

Build for Production

npm run build

Lint the Code

npm run lint

🌐 Deployment on Vercel

The project is deployed on Vercel for fast and reliable hosting.

πŸ”— Live Demo: Tasty Burger by Mahmud Alam


πŸ› οΈ Technologies Used

  • 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, and forwardRef 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 Tags (SEO)

<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">

πŸ† Author

Mahmud Alam


πŸŽ‰ Acknowledgments

  • Thanks to the React and Bootstrap communities for making development easier.
  • Special appreciation for Vite's incredible performance!

Enjoy coding! πŸš€

About

Tasty Burger is a modern React-based food ordering app, built with Vite for fast performance. It offers a responsive UI, smooth navigation, and dynamic content. Users can explore the menu, place orders, and rate food. SEO optimized and deployed on Vercel, this app is perfect for a user-friendly food ordering platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors