This article is from: Jia Penghui’s Technology blog (www.devio.org)

GitHub Popular

Likes making friends all know that there is a check function call treding hottest project, but this function can only be on the web page to view, and browsing on the mobile phone display effect is not very friendly, and I think on the subway, restaurant, etc of spare time to use it on the road, so I need one with the function of this App, not only this, I also wanted to find my favorite GitHub items on the App, even when my phone was offline, and I wanted the App to work on both my iOS and Android phones. GitHub Popular was born.

This project has met my requirements in the following three aspects:

  1. You can also use GitHub’s Treding feature on the mobile App to see the hottest open source projects.
  2. You can also search open source projects on GitHub on the mobile App, and view, save, share and other operations.
  3. I can subscribe to my favorite tags or languages and keep the most popular items of interest to myself.

Development environment and tools

Environment:

  • OSX: 10.11.6
  • Node. Js: 6.3.1
  • The react – native: 0.32.0

Tools:

  • Git
  • WebStorm
  • AndroidStudio
  • Xcode

Technology used and third-party libraries

The technology used

  • ES5/ES6
  • React
  • Flexbox
  • AsyncStorage
  • fetch api
  • Native Modules

Third-party tools

  • react-native-check-box
  • react-native-easy-toast
  • react-native-splash-screen
  • react-native-htmlview
  • react-native-parallax-scroll-view
  • react-native-scrollable-tab-view
  • react-native-sortable-listview
  • react-native-tab-navigator

Function flow chart

conclusion

This project is based on the current popular React Native technology architecture, and also uses some Android and iOS technologies, in which the code reuse rate of Android and iOS is as much as 90%. This project takes up a lot of my spare time, but it has finally been developed and successfully launched. In this process, I have filled in a lot of holes, including GitHub does not open treding Api, I need to implement it by myself, and I need to customize the theme, etc. I will sort out and share with you when I have time later.

GitHub Popular Android version has been put on the shelves, you can download from Baidu mobile assistant, app treasure to use, iOS version of the difference in a 99 knife account can be put on the shelves, purse shy whoop ~~~~. The project is open source on GitHub for those who love mobile development to study and study. Don’t forget to click a “like” to support it.

The last

Now that I have come, please leave me a favor and encourage me to continue to create

If you like my articles, follow mineblog@ devio.orgCome on, let’s be friends

Click here and follow:

GitHub: My open source project