Skip to content

salihozdemir/reddit-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 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.