The mobile app of cnodejs.org written in React Native
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__ RN 0.43.4 -> 0.50.4, just cherry-pick from branch RnUpgrade Dec 19, 2017
android RN 0.43.4 -> 0.50.4: code-push can work Dec 29, 2017
e2e codeceptjs@1.1.0 contain below PRs on codeceptjs@1.0.3 : Dec 18, 2017
ios RN 0.43.4 -> 0.50.4: code-push can work Dec 29, 2017
noderTests init Jul 7, 2015
source add icon source for yingyongbao May 5, 2016
src QRCode: fix Android `undefined is not a function (evaluating 'Camera.… Dec 31, 2017
web RN 0.43.4 -> 0.50.4, web can work Dec 19, 2017
.babelrc RN 0.43.4 -> 0.50.4, just cherry-pick from branch RnUpgrade Dec 19, 2017
.editorconfig cherry-pick and modify from `use eslint to config standardjs` of bran… Dec 4, 2017
.eslintrc customize .eslintrc Dec 4, 2017
.flowconfig RN 0.50.4 -> 0.51.0, just cherry-pick from branch RnUpgrade, to fix t… Dec 29, 2017
.gitattributes RN 0.28.0 -> 0.43.4 Nov 28, 2017
.gitignore RN 0.43.4 -> 0.50.4, just cherry-pick from branch RnUpgrade Dec 19, 2017
.watchmanconfig update to rn v0.18.1 Jan 26, 2016
Podfile init Jul 7, 2015
README.md Merge branch 'master' of git@github.com:flyskywhy/noder-react-native.… Dec 18, 2017
app.json RN 0.28.0 -> 0.43.4 Nov 28, 2017
codecept.conf.js codeceptjs@1.1.0 contain below PRs on codeceptjs@1.0.3 : Dec 18, 2017
index.android.js RN 0.43.4 -> 0.50.4: code-push can work Dec 29, 2017
index.ios.js RN 0.43.4 -> 0.50.4: code-push can work Dec 29, 2017
index.web.js cherry-pick and modify from `use eslint to config standardjs` of bran… Dec 4, 2017
package.json fix `webdriver-manager start` timeout ref to angular/webdriver-manage… Feb 5, 2018
yarn.lock react-web: support List and FlatList of RN 0.51.0 Dec 31, 2017

README.md

Noder - A React-Native Client for cnodejs.org

A new cnodejs.org mobile & web app powered by react-native and react-web and CodeceptJS .

Install

微信浏览器中若无法打开安装链接,请复制链接到系统浏览器中打开

Develop

For local development you need to follow the below commands:

git clone https://github.com/soliury/noder-react-native.git noder
cd noder
yarn install

Click the run button in Xcode, if something went wrong, you need to rebuild all packages that be used in this project with Xcode (Just select the package and press command+B to run compile).

If you want to run it on your iPhone, please follow the Offical Doc.

If you want to run it on your Android, please run:

npm run android
npm start

If you want to run it on your Browser (localhost:3000), please run:

npm run web

e2e test

JS app code in src/write once run on Android, iOS and Web by react-native and react-web, now JS test case in e2e/ with locator ~ write once run on them too with CodeceptJS .

Web test

After install server side of test by npm run e2e-update-server-web, please run:

npm run web
npm run e2e-server-web

Then run client side of test by npm run e2e-web, thus a web page will be opened in firefox automatically and complete the test.

Android test

After install server side of test by npm install -g appium, please run:

npm run android
npm start
npm run e2e-server-native

Then run client side of test by npm run e2e-android, thus an apk will be installed to android automatically and complete the test.

If npm install -g appium is unavailable in china, ref to node_modules-appium .

Screenshots

noder

React-Native Modules In Using

This project is heavily influenced by the above modules.

ToDo List

  • Push Notification
  • Fix the below bugs
    • In ListView, sometime items on the bottom can't be refreshed
    • ListView take too much memory
    • HTML to native View render take too much memory and CPU time
  • Add Unit testing

Change log

Please read CHANGELOG

Contribute

If you find any issues, just solve it and make a PR.

This project is under the ES6 JSX.

License

MIT License