Skip to content

aitezazdev/React-Food-App

Repository files navigation

React Food App (site screenshots below)

This repository contains a simple, real-world food ordering single-page app built with React. It includes menu listing, food item details, a cart, and a basic checkout flow (frontend only). Sign-in and sign-up are handled with Firebase Authentication and Google Sign-In is available.


Key features

  • Menu listing and food detail pages

  • Add to cart, update quantities, and remove items

  • Add to favourites, remove from favourites

  • Simple checkout flow (client-side)

  • User account management with Firebase Authentication

    • Email/password sign up & sign in
    • Google Sign-In (OAuth)
  • Responsive layout (mobile-friendly)


Tech stack

  • React (create-react-app or Vite)
  • React Router for routing
  • Redux for global state (cart + auth)
  • Firebase Authentication for user accounts (email/password + Google)
  • Tailwind CSS for styling

How to run locally

  1. Clone the repo and run locally
git clone https://github.com/vilezaz/React-Food-App.git
  1. Move into the project folder
cd React-Food-App
  1. Install dependencies
npm install
  1. Create a Firebase project and enable Authentication
  • Go to the Firebase Console (console.firebase.google.com)
  • Create a new project (or use an existing one)
  • In AuthenticationSign-in method, enable Email/Password and Google
  • In Project settingsGeneral, copy the Firebase config for your web app (apiKey, authDomain, projectId, etc.)
  1. Add your Firebase config to the project

Create a .env.local (or .env) file in the project root and add your Firebase config values. Example:

REACT_APP_FIREBASE_API_KEY=your_api_key
REACT_APP_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
REACT_APP_FIREBASE_PROJECT_ID=your_project_id
REACT_APP_FIREBASE_APP_ID=your_app_id
# optional
REACT_APP_FIREBASE_MEASUREMENT_ID=G-XXXXXX
  1. Start the dev server
npm run dev

Open http://localhost:3000 in your browser.


Screenshots

Login Page

App Screenshot

Home Page

App Screenshot

Trending Page (Home)

App Screenshot

Category Sorting

App Screenshot

Favourite Page

App Screenshot

Cart Page

App Screenshot

About

Food Delivery App made with react, redux-toolkit and tailwind.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages