Reddit clone reimagined with React Native and Redux
- Homebrew
- React Native CLI
- Node v8.2.x
- Watchman
- yarn
- Xcode 8.x via Mac App Store
- Xcode Command Line Tools is also required
- The application was developed as a native application for iOS and Android devices. The application features persistent local storage of post data. Users can update the content by pulling down on the list
Step 1: git clone this repo:
Step 2: cd to the cloned repo:
Step 3: Install the Application with yarn
or npm i
- cd to the repo
- Run Build for either OS
- for iOS
- run
react-native run-ios
- run
- for Android
- Run Genymotion
- run
react-native run-android
This application uses react-native-config to expose config variables React Native. API keys and other sensitive information can be stored in a .env
file:
API_URL=https://myapi.com
MY_API_KEY=abcdefgh
Secret Keys can be accessed from React Native like so:
import Secrets from 'react-native-config'
Secrets.API_URL // 'https://myapi.com'
Secrets.MY_API_KEY // 'abcdefgh'
The .env
file is ignored by git keeping those secrets out of your repo.
- React Native
- React Native Navigation
- Redux
- Redux Saga
- Redux Persist
- Enzyme
- Jest
- Lodash
- Ignite 2.0
- api-sauce
- redux-sauce
View the project roadmap here