Code Monkey home page Code Monkey logo

react-fast-pizza-app's Introduction

Fast React Pizza App

Project Requirements From Business

  • Very simple application, where users can order one or more pizzas from a menu
  • Requires no user accounts and no login: users just input their names before using the app
  • The pizza menu can change, so it should be loaded from an API
  • Users can add multiple pizzas to a cart before ordering
  • Ordering requires just the user's name, phone number, and address
  • If possible, GPS location should also be provided, to make delivery easier
  • User's can mark their order as "priority" for an additional 20% of the cart price
  • Orders are made by sending a POST request with the order data (user data + selected pizzas) to the API
  • Payments are made on delivery, so no payment processing is necessary in the app
  • Each order will get a unique ID that should be displayed, so the user can later look up their order based on the ID
  • Users should be able to mark their order as "priority" order even after it has been placed

Technologies Required

  • Redux
  • React Router
  • TailwindCSS

How to test search order manually

In the Search Order Input Field, type IDDSAT. This is the id of the order, that was stored in the database.

Knowledge Reviewing

  • Building app with Vite.
  • Destructure project.
  • React Router: Routes, Fetching Data with Loader, Writing Data with Actions, Handling Errors.
  • Redux Tool Kit: Managing Complex State, Predictable State Update, Debug
  • TailwindCSS: Installing, Setting Up, Styling, Grid, Flexbox, Responsive Design.

How to install app on local

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Download Source

You could use git clone from main or download file directly.

Installing Node Packages

$ npm i

Start Project

$ npm run dev

react-fast-pizza-app's People

Contributors

trung-hieu-dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.