Home
Softono
instagram-mern

instagram-mern

Open source MIT JavaScript
670
Stars
228
Forks
5
Issues
3
Watchers
7 months
Last Commit

About instagram-mern

Full-Stack Instgram Clone using MERN Stack and Socket.io

Platforms

Web Self-hosted Cloud

Languages

JavaScript

Instagram MERN

Full-Stack Instagram Clone using MERN Stack and Socket.IO

Visit Now πŸš€

πŸ–₯️ Tech Stack

Frontend:

reactjs  react-router  redux  tailwindcss  mui 

Backend:

nodejs  expressjs  mongodb  jwt 

Realtime Communication:

socketio

Cloud Storage:

aws-s3

Cloud Storage: Cloudinary

Mail Service: Sendgrid

βš™οΈ How to Run the Project (Setup Instructions)

Follow the steps below to get the project running locally πŸ‘‡

1️⃣ Clone the repository

git clone https://github.com/jigar-sable/instagram-mern.git
cd instagram-mern

2️⃣ Setup Backend

npm install

Before running the backend, go to:

backend/config/config.env.example

Rename this file to: config.env and update it with your environment variables (like MongoDB URI, JWT secret, etc.).

Then start the backend server:

npm run dev

3️⃣ Setup Frontend

From the root directory, navigate to the frontend folder:

cd frontend

Install dependencies:

npm install

Start the frontend server:

npm start

Now your app should be running successfully πŸŽ‰

πŸš€ Features

Authentication and User Management

  • ✨ Secure Login/Signup Functionality
  • πŸšͺ Support for Email or Username-based Login
  • πŸ” Seamless Profile and Password Management
  • πŸ”„ Password Reset via Sendgrid Integration

Content Management

  • πŸ“œ Dynamic Infinite Scroll for Posts
  • πŸ” Suggestions for User Connections
  • πŸ”Ž Intuitive Search for Users by Name or Username
  • πŸ”— Follow/Unfollow Capability for User Networking
  • ❀️ Like/Unlike Posts with Double-Tap Feature
  • πŸ’¬ Commenting on Posts for Interaction
  • πŸ“Œ Save/Unsave Posts for Bookmarking
  • πŸ“€ Effortless Post-Sharing Functionality

Messaging System

  • πŸ” User-Friendly Search for Chat Participants
  • πŸ“ Seamless Creation of New Chats
  • πŸ’¬ Real-Time Messaging Between Users
  • πŸ•’ Status Indicators for Typing and Online Presence

Social Features

  • πŸ“Š Comprehensive View of Followers/Following Lists
  • πŸ‘ Post Liked By Users Tracking
  • πŸ˜„ Emoji Integration via Emoji Mart

Image Storage

  • πŸ“· Branch dev-v3-cloudinary: Utilizes Cloudinary for Image Storage
  • ☁️ Branch dev-v2-aws: Leverages AWS S3 for Image Storage
  • πŸ’Ύ Branch dev-v1: Relies on Local Storage Solution

Sneak Peek of Home Page πŸ™ˆ :

home

mockup mockups
mockup mockups

πŸ“¬ Contact

Feel free to reach me through the below handles if you'd like to contact me.

linkedin instagram