Skip to content

About

A simple clone of the popular social media platform Instagram using Node.js and React.js

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

187 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Clone

A simple Instagram clone made using a MERN stack. Users can interact with other users by following other users; uploading and liking posts; and commenting. The app features a homepage that displays recommended posts and the posts of the user's following, an explore page where the user can find other users and a profile page where the user can edit their profile.

Here is a simple demo

Technologies

Acknowledgements

To upload the image URLs to the database and store the image files locally on the project, I used this tutorial as a foundation.

Installation

NOTE: You will need npm to install the required libraries

  1. Clone/download the git repo
git clone https://github.com/jchong9/instagram-clone.git
  1. Install the necessary dependencies for the frontend and backend

For the frontend:

(From the project root directory)
cd frontend
npm i

For the backend:

(From the project root directory)
cd backend
npm i
  1. Create a .env file in /backend that links the backend to your MongoDB database string, i.e
DATABASE_URL = mongodb://localhost:27017/(your collection)

NOTE: You can find this connection string on the MongoDB Compass by connecting with your database and clicking the 3 dots next to the database name.

  1. Run both the frontend and backend

For the frontend:

(While in the frontend directory)
npm start

For the backend:

(While in the backend directory)
nodemon
OR
node server

About

A simple clone of the popular social media platform Instagram using Node.js and React.js

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages