This project is a React Native application that demonstrates a simple shopping cart functionality. The app allows users to browse products, add them to the cart, and view the cart items.
- Display a list of products
- Add products to the cart
- View cart items
- Remove items from the cart
-
Clone the repository:
git clone https://github.com/Rizculla/ rn-assignment6-11296671 cd Assignment6
-
Install dependencies:
npm install
-
Run the app:
npx react-native run-android # For Android npx react-native run-ios # For iOS
App.js
: Entry point of the application.HomeScreen.js
: Displays the list of products.CartScreen.js
: Displays the cart items and handles item removal.ProductItem.js
: A component to display individual product details.Storage.js
: Handles data storage using AsyncStorage.
- Name: Benson Otti
- Student ID: 11296671