Skip to content

Kamrancodex/fast-pizza

Repository files navigation

Fast Pizza

Fast Pizza is a sleek and user-friendly pizza ordering web application built using React, React Router, and Redux Toolkit. It allows users to browse a wide variety of pizzas fetched from an external API, add them to a cart, and place an order with ease. The app also includes a geolocation feature to auto-fill the user's address for a more convenient checkout experience.

Features

User Personalization

  • Name Input: Users can enter their name on the starting page for a personalized experience.

Pizza Browsing and Selection

  • Pizza Search: Browse a vast selection of pizzas fetched from an external API.
  • Add to Cart: Option to add multiple pizzas, either different or the same, to the cart.

Cart and Checkout

  • View Cart: Users can view their selected pizzas in the cart.
  • Order Form: Enter name, phone number, and address to place an order.
  • Geolocation Fetcher: Automatically fetch the user's exact location to auto-fill the address.
  • Priority Option: Users can choose to give their order priority for faster delivery.

Technologies Used

  • React: For building the user interface.
  • React Router: For handling routing within the application.
  • Redux Toolkit: For state management.

Getting Started

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:

git clone https://github.com/kamrancodex/fast-pizza.git cd fast-pizza

  1. Install the dependencies:

npm install

  1. Running the App To start the development server, run:

npm run dev