React Native E-Commerce App Starter with MedusaJS Backend

Introduction

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.

Prerequisites

  • 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)

Features

  • 🛍️ 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.

Installation

  1. Clone the repository:
  2. Navigate to the project directory:
  3. Install dependencies using yarn
  4. To start Metro, run the following command from the root of your React Native project:
yarn start

Running the App on iOS

  1. Ensure you have Xcode installed and properly configured.
  2. Start your MedusaJS backend server.
  3. To start the iOS application, navigate to the project directory and run:
  4. yarn ios