Full-Stack Instagram Clone using MERN Stack and Socket.IO
Visit Now π
Frontend:
Backend:
Realtime Communication:
Cloud Storage:
Cloud Storage: Cloudinary
Mail Service: Sendgrid
Follow the steps below to get the project running locally π
git clone https://github.com/jigar-sable/instagram-mern.git
cd instagram-mernnpm installBefore running the backend, go to:
backend/config/config.env.exampleRename 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 devFrom the root directory, navigate to the frontend folder:
cd frontendInstall dependencies:
npm installStart the frontend server:
npm startNow your app should be running successfully π
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
![]() |
![]() |
![]() |
![]() |
Feel free to reach me through the below handles if you'd like to contact me.




