This is a mobile application built using React Native that retrieves car inventory data and allows users to view and filter the data based on the car's year.
- Retrieves car inventory data
- Stores the data in a Context API state variable for easy access across components
- Sorts the car inventory data in increasing ascending order using the car's year (implemented with JavaScript's in-built sort method which uses the Quick Sort algorithm)
- Displays the sorted data to the user
- Provides a user-friendly input field for filtering the car inventory by year in real-time
- React Native: A JavaScript framework for building mobile applications.
- Context API: A built-in state management solution in React for sharing data across components.
- QuickSort: A sorting algorithm used to sort the car inventory data based on the car's year.
To run the application locally, follow these steps:
- Clone the repository:
git clone https://github.com/eric-ricky/Car-Inventory.git
- Navigate to the project directory:
cd your-repo
- Install the dependencies:
npm install
oryarn install
- Start the development server:
npm start
oryarn start
- Use an emulator or scan the QR code to launch the application on a mobile device.
In this project, I used React Native, Context API, Quick Sort algorithm, and real-time filtering to build a car inventory management system.
Thank you ๐