This is a react-native Android/iOS application for showing a list of watch list of entites using https://api.iextrading.com.User can search for an entity by its name and then can add in to its list.
- All the entities name list will be fetched first and then will be saved for future for fast response.
- Once an entity is added then it can be deleted as well later.
- All entities can be fetch again using pull to refresh.
This is developed on React native with Redux architecture.
Other useful libraries used in this project are:-
- Redux-persist for offline compatibility.
- redux-logger for development purposes.
- redux-thunk for handling async calls.
- hoc function as helping utitlity components.
- websocket implementation for getting real time data.
- splash screen for intial rendering.
- some animation (when list item is deleted from the list and whole list gets empty then showing empty view by animating)
.... follow official website of react-native for setting up react-native environment in to your machine.
https://facebook.github.io/react-native/docs/getting-started.html ....
- Make sure
nodejs
andyarn
are installed - React Native CLI is needed, do
npm install -g react-native-cli
- clone the repo
git clone https://github.com/Nasirilahi/watcher.git
- move into the project directory and
- Run
yarn install
ornpm install
to install the dependencies - Run
react-native link
command to link all binaries files
After installing dependencies run your package server.
Now create build for both platform one after another Android/iOS
$ react-native run-android
$ react-native run-ios