This starter repository is designed for setting up a React Native e-commerce application using MedusaJS as the backend. It provides a foundational structure with essential features for a quick start in building a robust online shopping app.
- A MedusaJS backend setup. Follow the instructions here if you haven't set it up yet: Setting up MedusaJS
- Node.js and npm installed
- React Native environment setup for iOS (refer to React Native Environment Setup)
- Yarn package manager (Install yarn if not present:
npm install -g yarn
)
- 🛍️ Products Display: View a variety of products.
- 🌟 Individual Product with Variant: Detailed view of products with different variants.
- 🛒 Add to Cart: Functionality to add products to the shopping cart.
- 🏁 Checkout Process: Basic checkout functionality.
- 📧 Sign In/Sign Up: User authentication mechanism using email.
- Clone the repository:
- Navigate to the project directory:
- Install dependencies using yarn
- To start Metro, run the following command from the root of your React Native project:
yarn start
- Ensure you have Xcode installed and properly configured.
- Start your MedusaJS backend server.
- To start the iOS application, navigate to the project directory and run:
-
yarn ios