An open API service indexing awesome lists of open source software.

https://github.com/yarapolana/rocketshoes-react-native

๐Ÿ‘  NetShoes Clone using React Native and Redux
https://github.com/yarapolana/rocketshoes-react-native

json-server react-native redux redux-saga rocketseat-desafio-07

Last synced: 2 months ago
JSON representation

๐Ÿ‘  NetShoes Clone using React Native and Redux

Awesome Lists containing this project

README

          



๐Ÿ‘  React Native + Redux Challenge


This is a ecommerce mobile application for iOS & Android, and a code challenge from a class in Rocketseat's Bootcamp. The challenge involves implementing flux architecture to a react native project from scratch. Read Description






๐Ÿš€Description



Build a React Native project from scratch and implement flux architecture using Redux, Redux-Saga, and debug with Reactotron-react-native.
Use Json Server as your API.

Usage


To run the application first install dependencies

```
yarn or npm install
```

This application uses Json Server so make sure to have that running

```
json-server --watch server.json

```

Your server should be up and running here

```
http://localhost:3000
```

Then run the application

```
react-native run-ios or react-native run-android
```

Routes

Products
- `GET /products`: This route displays an array of all products.

- `GET /products/:id`: This route uses `id` as a parameter and displays a single product.

Stock
- `GET /stock`: This route displays all the stock available from each product.

- `GET /stock/:id`: This route uses `id` as a parameter and this is where you see stock for a specific product.

---

Check out the react version of this challenge here.

---
### License:

This project is made available under the [MIT LICENSE](LICENSE.md).

### Authors: