Skip to content

DEMO: RN mobile app that shows grocery products list with search & categories, increment/decrement product quantity, add to cart, and cart screen which items can still be updated or removed

Notifications You must be signed in to change notification settings

ramirezjag00/e-commerce-cart-app

Repository files navigation

Simple Cart App using React-Native + TypeScript

Setup Instructions

  1. Setup react-native environment. read more here
  2. Clone the repository
  • git@github.com:ramirezjag00/cart.git
  1. Install dependencies
  • cd [project_directory] && npm install
  1. Run project

Run

Android

Needs emulator, install Android Studio

  1. Open emulator from Android Studio
  2. Run react-native: react-native run-android

IOS

  1. Download Xcode from app store
  2. Install the pods: cd [project_directory]/ios && pod install
  3. Run react-native: react-native run-ios

Clean and Run

Android

reinstall packages, clean android, pod install ios, run in android

rm -rf package-lock.json && npm i && cd android && ./gradlew clean && cd .. && cd ios && pod install && cd .. && react-native run-android

iOS

reinstall packages, clean android, pod install ios, run in ios

rm -rf package-lock.json && npm i && cd android && ./gradlew clean && cd .. && cd ios && pod install && cd .. && react-native run-ios

About

DEMO: RN mobile app that shows grocery products list with search & categories, increment/decrement product quantity, add to cart, and cart screen which items can still be updated or removed

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published