https://github.com/kimlimjustin/socialapp
A website similar to Instagram created using the MERN stack.
https://github.com/kimlimjustin/socialapp
expressjs instagram-clone instagram-clone-nodejs mongodb nodejs react social-network
Last synced: 6 months ago
JSON representation
A website similar to Instagram created using the MERN stack.
- Host: GitHub
- URL: https://github.com/kimlimjustin/socialapp
- Owner: kimlimjustin
- License: mit
- Created: 2020-10-08T13:45:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T14:47:04.000Z (almost 4 years ago)
- Last Synced: 2025-03-29T19:11:09.362Z (7 months ago)
- Topics: expressjs, instagram-clone, instagram-clone-nodejs, mongodb, nodejs, react, social-network
- Language: JavaScript
- Homepage:
- Size: 4.54 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# socialapp
#### Warning: although this project has some basics security such as hashed user password and others, this project is NOT secure enough in production. (Contribute to this project by making a pull request will be appreciated)

How to run:
- Clone this repository or fork it.
`git clone https://github.com/kimlimjustin/socialapp.git` or `git clone https://github.com//socialapp.git`
- Inside `server` directory, create a new file called `.env` which stores your ATLAS_URI information
Example: `ATLAS_URI =mongodb+srv://admin:@cluster0.8aezk.gcp.mongodb.net/socialapp?retryWrites=true&w=majority`- Inside `client` directory, create a new file called `.env` which stores your server url information inside `REACT_APP_BACKEND_URL` variable
Example: `REACT_APP_BACKEND_URL = http://localhost:5000`- install all dependencies.
- Client side:
on the `client` directory type `npm install`
- Server side:
on the `server` directory type `npm install`
- Run it on node js:
- Client side:
on the `client` directory type `npm start`
- Server side:
on the `server` directory type `npm start`