Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.22 KB

README.md

File metadata and controls

68 lines (47 loc) · 1.22 KB

🚀 Technologies

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

👀 Preview

App Preview 1 App Preview 2 App Preview 3

⚠️ Prerequisite

React Native Environment

💿 How to run local

# 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 android

🔎 Testing

Make sure mongodb is running before testing the server.

$ cd server
$ yarn test

📝 License

This project is made available under the MIT License.