Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/salihozdemir/reddit-clone
- Owner: salihozdemir
- License: mit
- Created: 2020-05-28T21:13:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T02:47:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-23T11:38:48.523Z (3 months ago)
- Topics: axios, context-api, express, formik, fullstack, mongodb, moongose, nodejs, react-native, react-navigation, reactotron, reddit, reddit-clone
- Language: JavaScript
- Homepage:
- Size: 13.7 MB
- Stars: 96
- Watchers: 5
- Forks: 27
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## :rocket: Technologies
- NodeJs
- Express
- MongoDB
- Mongoose
- React Native
- React Navigation
- Reactotron## :eyes: Preview
## :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.