This repository contains the source code for a food order application built using React. The app allows users to browse a variety of food items, add them to their cart, and place orders.
Before running the project, ensure you have the following installed on your local machine:
- Node.js
- npm (Node Package Manager)
- Clone the repository to your local machine using the following command:
- Install project dependencies using npm:
git clone https://github.com/asyylz/Food-Order-App.git
npm install
npm start
Outcome website here
Custom Hook:useHttp Leveraging the power of custom hooks, the app efficiently manages HTTP requests, providing seamless communication with the backend server while maintaining code readability and reusability.
Context Providers:Instead of Redux, the app utilizes two context providers (CartContext and UserProgressContext) to manage global state and facilitate data flow between components. This approach offers a lightweight alternative to Redux, while still providing centralized state management capabilities.
JavaScript: The primary programming language used for implementing application logic and interactivity.
Contributions to the project are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.