Run each of the lines above in a git bash terminal:
- Clone the repository
git clone https://github.com/heliohdd/fast-react-pizza.git
- Change to the project folder
cd fast-react-pizza
- Install NPM packages dependencies
npm install
- Now run the application
npm run dev
And then open http://localhost:5173 with your browser to see the result.
"Fast React Pizza Co." is a site that allow customers to order pizzas and get them delivered to their home.
- 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
- GPS location is also provided, so 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 at this moment
- 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
- React Router for routing
- Tailwindcss for styling
- React Router for remote state management
- Redux for UI state management
- Homepage
- Pizza menu
- Cart
- Placing a new order
- Looking up an order