Demo Twitter client to show how to share unified business logic code between React Native apps and React web projects with Redux
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
android
app
common
ios
web
.eslintrc
.flowconfig
.gitignore
.watchmanconfig
README.md
index.android.js
index.ios.js
index.web.html
package.json
webDevServer.js
webpack.config.dev.js
webpack.config.prod.js

README.md

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