Skip to content

kankongmeng/reddit-clone-react-native

Repository files navigation

reddit-clone-react-native

reddit-clone / react-native / react

Example of basic Reddit Clone application developed with React-Native.

Features:

  • Maintain a list of topics and its upvotes/downvotes.
  • Allow the user to submit topics.
  • A "topic" is simply a string that does not exceed 255 characters.
  • Allow the user to upvote or downvote the same topic multiple times.
  • Always return a list of top 20 topics (sorted by upvotes, descending) on the homepage.
  • Code comments and documentation: For the key functionalities.
  • Implemented Jest (Auto Unit Test).
  • Support search post by title.

Change The Code! Installation Step Below:

My main goal for this is to give new programmers some code to look at and talk about.

Open your terminal

$ git clone https://github.com/kankongmeng/reddit-clone-react-native.git
$ cd reddit-clone-react-native
$ npm install
$ react-native run-android
$ npm test

(Remarks: npm test is for execute Jest auto unit test.)

Reddit Clone Android Apk File

Download Apk File

Reddit Clone React Native Android Screenshot

Main Page New Post Page

Jest Auto Unit Test Result

Jest

Deploy?

Deploy

learn more about