Skip to content

A mobile application that merges Reddit and Digg

Notifications You must be signed in to change notification settings

sean-oneal/redigg

Repository files navigation

redigg

Redigg ScreenShot

Reddit clone reimagined with React Native and Redux

Table of Contents

  1. Owner
  2. Usage
  3. Requirements
  4. Development
    1. Installing Dependencies
    2. Tasks
    3. Secrets
    4. Tech Stack
    5. Roadmap

Owner

Usage

Requirements

Development

  • 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

⬆️ Installing Dependencies

Step 1: git clone this repo:

Step 2: cd to the cloned repo:

Step 3: Install the Application with yarn or npm i

▶️ Tasks

  1. cd to the repo
  2. Run Build for either OS
  • for iOS
    • run react-native run-ios
  • for Android
    • Run Genymotion
    • run react-native run-android

🔐 Secrets

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.

Tech Stack

  • React Native
  • React Native Navigation
  • Redux
  • Redux Saga
  • Redux Persist
  • Enzyme
  • Jest
  • Lodash
  • Ignite 2.0
  • api-sauce
  • redux-sauce

Roadmap

View the project roadmap here