使用 nodejs 和 react native 的完整堆栈 Reddit 克隆。
# Clone this repository
$ git clone https://github.com/salihozdemir/reddit-clone.git
# Go into the repository
$ cd reddit-clone
# Go into server
$ cd server
# Start mongodb locally
$ mongod
# Install dependencies
$ yarn
# Start the backend server
$ yarn dev
# On another terminal, go to the client folder
$ cd ../client
# Install dependencies
$ yarn
# To connect to the server side, you must replace the IP address in the src/utils/fetcher file.
$ cd src/utils/fetcher => Change IP address
# Use the command below for Android devices
$ yarn androidMake sure mongodb is running before testing the server.
$ cd server
$ yarn testThis project is made available under the MIT License.
暂无开放 Issues,或尚未同步最近议题。