/ReactTwitter

Demo Twitter client to show how to share unified business logic code between React Native apps and React web projects with Redux

Primary LanguageJavaScript

ReactTwitter

ReactTwitter is a demo Twitter client to show how to share unified business logic code between React Native apps and React web projects with Redux. The project is as simple as only asking for user's oauth and show "Hello {username}", but it demonstrates the most basic aspects of front-end/back-end React program interaction.

Config & Run

  1. Config and run its server side counterparty NodeTwitter
  2. npm install
  3. For website demo, run node webDevServer.js, then visit http://localhost:8080/reacttwitter in browser
  4. For iOS app demo, open ./ios/ReactTwitter.xcodeproj with Xcode, then run the app in simulator or device
  5. For Android app demo, run react-native run-android with simulator or device plugged in

Architecture

ReactTwitter Arch

Screenshots

ReactTwitter Screen