Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 2.74 KB

README.md

File metadata and controls

82 lines (55 loc) · 2.74 KB

👠 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.

Authors: