salihozdemir / reddit-clone

Full stack Reddit clone with nodejs and react native.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ 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.

About

Full stack Reddit clone with nodejs and react native.

License:MIT License


Languages

Language:JavaScript 86.3%Language:Java 5.2%Language:Ruby 4.4%Language:Objective-C 3.7%Language:Starlark 0.5%