Instagram Clone

Built with Node js, Express js, Mongoose(Object Modeling for MondgoDB), React Js.

Functionalities

  • Follow User, UnFollow User.
  • Search Users.
  • Following User Posts.
  • Create Post.
  • Update UserProfile.
  • JWT Authentication.
  • Comment on Post.
  • Like UnLike on Posts.

Tech

Installation

Clone

  • Clone this repo with url https://github.com/Aakrut/instagram-mern
Setup

Install npm dependencies using npm install

$ npm install && cd client && npm install

Set up a MongoDB database either locally or provision a free database with MongoDB Atlas

Create a free Cloudinary account

Create a .env file in the root directory

Set up required environment variables.

MONGO_URI=Your_MONGO_URLJWT_SECRET=YOUR_SECRET_KEYJWT_LIFETIME=TIMECLOUDINARY_CLOUD_NAME=CLOUD_NAMECLOUDINARY_API_KEY=API_KEYCLOUDINARY_API_SECRET=CLOUD_SECRET_KEY

In the root directory run both the backend and the front end with the following command

npm start

Screenshots

Web

Home Page

Explore Page

Search User

Post Page

Profile Page

User Page

Post Details & Messages Page

Responsive

Home Page

Explore and Search Page

Post Page

Profile Page

GitHub

View Github