Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/salihozdemir/reddit-clone

Full stack Reddit clone with nodejs and react native.
https://github.com/salihozdemir/reddit-clone

axios context-api express formik fullstack mongodb moongose nodejs react-native react-navigation reactotron reddit reddit-clone

Last synced: 3 months ago
JSON representation

Full stack Reddit clone with nodejs and react native.

Awesome Lists containing this project

README

        

## :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](https://reactnative.dev/docs/environment-setup)

## :cd: How to run local

```bash
# 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
```

## :mag_right: Testing

Make sure mongodb is running before testing the server.

```bash
$ cd server
$ yarn test
```

## :memo: License

This project is made available under the MIT License.