/React-Pizza-Shop

Primary LanguageTypeScriptMIT LicenseMIT

Fast React Pizza App

Welcome to the Fast React Pizza App repository! This application is designed to offer a seamless experience for customers wishing to order pizza from the comfort of their home. Built with React, this front-end project interfaces with an existing backend API to fetch the pizza menu and handle orders.

Features

  • Dynamic Pizza Menu: Customers can browse an up-to-date menu loaded dynamically from a backend API.
  • User-Friendly Ordering Process: No login required. Users simply enter their name to start ordering.
  • Shopping Cart Functionality: Allows adding multiple pizzas to a cart before placing an order.
  • Order Customization: Users can provide delivery details (name, phone number, address) and opt for GPS location sharing for easier delivery.
  • Priority Orders: Option to mark orders as priority for faster delivery at an additional cost of 20% of the cart price.
  • Order Tracking: Each order is assigned a unique ID, which can be used by customers to check their order status.
  • Post-Order Priority Marking: Flexibility to mark orders as priority even after they have been placed.
  • Payment on Delivery: Designed for convenience, the application requires no online payment processing.

Technical Overview

Tech Stack

  • Frontend: React
  • Routing: React Router
  • State Management: Redux for UI state and React Router's new data fetching capabilities for remote state.
  • Styling: Tailwind CSS

Running the Application Locally

  1. Clone the repository

    git clone https://github.com/yourusername/React-Pizza-Shop.git
    
  2. Navigate to the project directory

    cd React-Pizza-Shop
    
  3. Install dependencies

    npm install
    
  4. Start the development server

    npm run dev
    

The application will be available at localhost.

Contributing

We welcome contributions to the Fast React Pizza App! If you have suggestions for improvements or encounter any issues, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Note: This project is for educational and demonstration purposes. It interfaces with a fictional backend API and is part of a course project.

Thank you for checking out the Fast React Pizza App. Enjoy ordering your favorite pizza!