This mobile application is built using React Native and Expo, allowing users to browse products fetched from a dummy JSON API and manage a shopping cart.
- Browse products from a dummy JSON API.
- Add products to the shopping cart.
- Remove products from the shopping cart.
- View the total price of items in the cart.
- Responsive design for mobile devices.
- Node.js and npm installed on your development machine.
- Expo CLI installed globally:
npm install -g expo-cli
.
-
Clone this repository to your local machine:
git clone https://github.com/KesraouiMohamed1991/ecommerce-app.git
-
Navigate to the project directory:
cd react-native-expo-shopping-app
-
Install dependencies:
npm install
-
Start the Expo development server:
npm start
-
Open the Expo Go app on your mobile device and scan the QR code from the Expo development server to preview the app.
- Browse through the list of products displayed on the home screen.
- Tap on a product to view details and add it to the shopping cart.
- View the shopping cart by tapping on the cart icon.
- Adjust the quantity of items or remove them from the cart as needed.
- React Native
- Expo
- Dummy JSON API (e.g., JSONPlaceholder)
- Redux (optional, for state management)
Contributions are welcome! Feel free to open a pull request for any improvements or features you'd like to add.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thank you to the creators and maintainers of React Native, Expo, and other open-source libraries used in this project.
- Dummy JSON API used for demonstration purposes.