- React native with typescript
- Axios
- React navigation
- Styled components
- Json server
- Async storage
- List products
- Add products in cart
- Increment the quantity of a product
- Decrement the quantity of a product
- Calculates total cart items
- Calculates total value of the products
- Save cart items to memory
-
Clone this repository -
git clone https://github.com/jfilipe-dev/gomarketplace.git
-
Install the dependencies -
yarn
-
Start Json server -
yarn json-server server.json -p 3333
-
Run aplication (emulator)
-
android -
adb reverse tcp:3333 tcp:3333
yarn android
-
ios -
cd ios
pod install
cd ..
yarn ios