项目作者: salihozdemir

项目描述 :
Full stack Reddit clone with nodejs and react native.
高级语言: JavaScript
项目地址: git://github.com/salihozdemir/reddit-clone.git
创建时间: 2020-05-28T21:13:59Z
项目社区:https://github.com/salihozdemir/reddit-clone

开源协议:MIT License

下载


:rocket: Technologies

  • NodeJs
  • Express
  • MongoDB
  • Mongoose
  • React Native
  • React Navigation
  • Reactotron

:eyes: Preview


App Preview 1
App Preview 2
App Preview 3

:warning: Prerequisite

React Native Environment

:cd: How to run local

  1. # Clone this repository
  2. $ git clone https://github.com/salihozdemir/reddit-clone.git
  3. # Go into the repository
  4. $ cd reddit-clone
  5. # Go into server
  6. $ cd server
  7. # Start mongodb locally
  8. $ mongod
  9. # Install dependencies
  10. $ yarn
  11. # Start the backend server
  12. $ yarn dev
  13. # On another terminal, go to the client folder
  14. $ cd ../client
  15. # Install dependencies
  16. $ yarn
  17. # To connect to the server side, you must replace the IP address in the src/utils/fetcher file.
  18. $ cd src/utils/fetcher => Change IP address
  19. # Use the command below for Android devices
  20. $ yarn android

:mag_right: Testing

Make sure mongodb is running before testing the server.

  1. $ cd server
  2. $ yarn test

:memo: License

This project is made available under the MIT License.