reddit-clone / react-native / react
Example of basic Reddit Clone application developed with React-Native.
- 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.
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.)