Build Real-time Full Stack Instagram Clone with MERN Stack (Socket.io, React.js, MongoDB)

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • Learn how to create a real-time Full stack Instagram clone from scratch using React.js, Express, NodeJS and MongoDB & Socket.io. This project is perfect for those looking to enhance their skills in web development and add a valuable project to their portfolio. Stay tuned for more exciting updates in future parts!
    TIMESTAMPS:
    00:00 Build Demo
    15:54 Backend Setup
    26:58 Connect with MongoDB Database
    33:50 Create All Models
    56:41 User Controller, Middleware, cloudinary etc
    2:23:35 Create Post Controller
    3:21:07 Create a Message Controller for Chatting
    3:52:05 Frontend Setup (React vite, shadcnui)
    3:59:26 Building Signup/Login Pages
    4:20:35 Setup React-Router-Dom
    4:33:46 Building Left Sidebar Page
    4:52:43 Building Post Page
    5:47:20 Setup Redux Toolkit for State Management
    6:05:08 Implement Delete/like/dislike/comment
    8:05:58 Building Right Sidebar Page
    8:23:23 Building Profile Page & Follow/Unfollow
    10:00:20 Building Chat & Message Pages
    10:30:42 Implement Socket.io for real-time like
    12:10:55 Implement Protected Routes
    12:16:03 Let's Deploy Our App on Render
    Source Code: github.com/Sur...
    Join Discord: / discord
    👉UA-cam Clone:
    Ep-01: • 🔴 Let's Build & Deploy...
    Ep-02: • 🔴 Let's Build & Deploy...
    Ep-03: • 🔴 Let's Build & Deploy...
    👉Netflix Clone: • Build Fullstack Twitte...
    👉Master Redux Toolkit: • Master Redux Toolkit i...
    👉Complete Javascript for Reactjs: • Master Javascript Befo...
    👉NextJS Authentication App: • Build Full Stack Authe...
    Tags:
    instagram clone with reactjs
    instagram clone with mernstack
    instagram clone with nextjs
    fullstack instagram clone
    mern stack projects
    HashTags:
    #mernstackproject
    #reactjs
    #nextjs
    In 2024, it is the most practical web development course on UA-cam. We will understand each concept theoretically as well as practically. After understanding the concepts, we will create projects and do fun challenges.
    So make sure to subscribe to my channel, So you can't miss any updates.
    Follow ME:
    LinkedIn: / surendrakumar143
    Disclaimer: This build is for educational purposes only. The views, opinions, and technology choices expressed in this video are solely my own and do not reflect those of any current, past, or future employers or affiliations.

КОМЕНТАРІ • 338

  • @hafizmuhammadarsalan4068
    @hafizmuhammadarsalan4068 Місяць тому +15

    i have never ever seen this type of project Thank you☺. Keep it up bro 🤗 love from pakistan

  • @aktthakur33
    @aktthakur33 Місяць тому +14

    Itni khushi 😂😂😂😂❤🎉
    Back to back videos mern projects 🎉🎉 itna efforts
    Thankyou bhaiya 😊

    • @patelmernstack
      @patelmernstack  Місяць тому +2

      Thank you brother for your love & support. ❤

  • @user-qs9no7yw6n
    @user-qs9no7yw6n Місяць тому +5

    hey buddy i am building same project for past 3 days
    & now I came across your video.

    • @patelmernstack
      @patelmernstack  Місяць тому +1

      Thanks for visiting ❤

    • @fsDeveloper18
      @fsDeveloper18 Місяць тому

      same bro, but I got stuck at real time notification part.

  • @sole_words9399
    @sole_words9399 18 днів тому +1

    your videos are really good and the which way you are explaining all the things is amazing thanks for helping all the students and for your lots of efforts to make this type of learning content i really love this content 😇😃

  • @nishchaynish
    @nishchaynish 28 днів тому +1

    bro this project is next level if you have time please make it responsive

  • @Its_Himanshu-qr2jx
    @Its_Himanshu-qr2jx Місяць тому +3

    Bro, please make a video about how you learned the MERN stack so perfectly.

  • @mrmahaveer7743
    @mrmahaveer7743 Місяць тому +6

    love from pakistan patel sahb 🥰🥰

    • @patelmernstack
      @patelmernstack  Місяць тому

      Thank you brother for your love & support. ❤

  • @princecodezone9324
    @princecodezone9324 Місяць тому +2

    Abhi kl hii socha rha thaa aesa video❤❤❤❤❤

    • @patelmernstack
      @patelmernstack  Місяць тому +1

      Lo fir agya😅 thanks for watching ❤

  • @niteshprajapat7918
    @niteshprajapat7918 Місяць тому +1

    Thank you Bhaiya ❤🎉
    I am learning new concepts from last Job portal. Such a good project it was 🔥🔥

    • @patelmernstack
      @patelmernstack  Місяць тому +1

      Thanks for watching ❤.
      Never stop learning 🚀🚀

    • @memessite9261
      @memessite9261 Місяць тому

      It is no doubt one of the best Project i have ever see with great explaination ,lots of love bhaiya and specially the deployment part of this video is totally lit

    • @patelmernstack
      @patelmernstack  Місяць тому +1

      @@memessite9261 thankyou❤

    • @memessite9261
      @memessite9261 Місяць тому

      @@patelmernstack most welcome 🤗

  • @Gyan_Tech_Soft
    @Gyan_Tech_Soft Місяць тому

    Bro I love this amazing project
    Maja aa gya demo dekh kr wanderful
    Thankyou So much bro for your efforts and consistency. ❤❤🎉🎉👍🏻👍🏻

  • @BhagatBhutale..
    @BhagatBhutale.. Місяць тому +1

    Jabardast Project : New Subscriber

  • @Kira-zy8wh
    @Kira-zy8wh Місяць тому +1

    Waiting for your next video❤.. Agli mern ya next kya daal rahe ho!? 🎉
    Mai toh kehta next pe krwao thoda.. Food delivery h kya agla!?
    Cant wait for ur next 🎥 video

  • @vaibhavdixit6005
    @vaibhavdixit6005 Місяць тому +1

    you are doing execelent job , please bring uber clone in react js and mango db

  • @ajaykumardwivedi1
    @ajaykumardwivedi1 25 днів тому

    Keep it up Bro! 🗿
    I appreciate it 🙌🎉
    (Advice) - You may add chapters

  • @continentsports
    @continentsports Місяць тому +1

    Nice 👍 lagy raho bro bohot achy projects banty hy. Aap

  • @World_information5568
    @World_information5568 Місяць тому

    Very cool project brother keep making such amazing projects❤❤❤❤❤

    • @patelmernstack
      @patelmernstack  Місяць тому

      Yes! Ap logo ka support rhega toh bilkul 💪. By the way vo toh hai hi ❤❤

  • @Raju-fg8qm
    @Raju-fg8qm Місяць тому +1

    Bhai responsive portfolio bnwa do aap acha explain karte ho aapse hi sikhunga next Monday Tak bnwa do ..... placement bhi chl rha h thoda urgent me bnana h

  • @awaisarif1495
    @awaisarif1495 Місяць тому

    such an amazing project we want more

  • @akshitaguru
    @akshitaguru Місяць тому

    Very good project and easy to understand♥

  • @evilgaming000
    @evilgaming000 16 днів тому

    3:08:54 ~ jaise tum bandi ki figure ke bare me sochte ho waise hi code me har corner cases or possibilities ko socho

  • @Mahesh_patidar
    @Mahesh_patidar Місяць тому +1

    Great bhaiya ❤

  • @TriggeredReels
    @TriggeredReels Місяць тому

    Best mern stack project

  • @ASTROBHARAT_CRICKET
    @ASTROBHARAT_CRICKET Місяць тому +1

    Great work

  • @letsglow8916
    @letsglow8916 25 днів тому +1

    having problem at 3:55:25......jsconfig.json....when try to create component.....shows ERR:"jsconfig.json is malformed JSON5: invalid end of input at 1:1"

  • @dipukumar3472
    @dipukumar3472 10 днів тому

    its really good project bro.

  • @vishalchavan7404
    @vishalchavan7404 2 дні тому +1

    Does it have infinite scrolling, and if not how do add it. If possible add this feature in this or make a new video on this.

  • @kuldeepkushwahakd7905
    @kuldeepkushwahakd7905 20 днів тому

    Superb mind-blowing amazing content..

  • @Aditya-sq2ms
    @Aditya-sq2ms 27 днів тому +1

    Nice 👍
    Bro can u bring react course in separate video

  • @Trendi_Vibes
    @Trendi_Vibes 24 дні тому

    12 ghante ka video bhai ye koi mazak nahi hai ,i am glad bhai ❤❤,but beggenr ke liye kuchh batado ki mearn sikh sake 😊 ,bhai 1 video banao jisse hum jaldi se jaldi sikh sake ❤

  • @BhavinBhuva-d5m
    @BhavinBhuva-d5m 17 днів тому

    very logic building project...

  • @pragatijadhav26
    @pragatijadhav26 18 днів тому +1

    next project try figma clone with realtime screen sharing

  • @Jenilpatel3637
    @Jenilpatel3637 26 днів тому

    bhai postman vs code me hi download karlo easy hai bohot... Baki video ek number che ho !!

  • @user-dj5qd7ui9c
    @user-dj5qd7ui9c 3 дні тому

    backend completed✅✅ 😊😊

  • @aqueebsayyed194
    @aqueebsayyed194 23 дні тому

    Great brother

  • @ishmeetsingh5635
    @ishmeetsingh5635 4 дні тому

    Day 1 - 1:01:13 ✅

  • @NitinKumar-es1mo
    @NitinKumar-es1mo 25 днів тому +1

    bhai mern per ek ecommerce project bna do tailwind css use karke

  • @Jenilpatel3637
    @Jenilpatel3637 19 днів тому +1

    i am creating a task management backend by your tutorial of inta clone its funny lol but well it's helping me a lot thanks broooooo.... !!!! timestamp only for me i have to come back tommoroww !! 1:16:20

  • @StudyVideos2024
    @StudyVideos2024 Місяць тому +1

    Hello Sir , I love your Content Can you make a complete video on school management system SaaS model

  • @vibestation23
    @vibestation23 Місяць тому

    awesome project

  • @BytesRush
    @BytesRush Місяць тому +1

    Bro is it responsive coz you used tailwind so i think it should be btw amazing project and one more request try developing a full stack (mern) e learning platform like udemy with payment gateway integration thanks again ❤

    • @patelmernstack
      @patelmernstack  Місяць тому +1

      Noted!

    • @TalkMalk
      @TalkMalk Місяць тому

      @@patelmernstack Yes, Mern LMS platform 😀😀

  • @ritesh-hc6ws
    @ritesh-hc6ws Місяць тому

    thanks for helping me learn

  • @mrcrowfacts1922
    @mrcrowfacts1922 17 днів тому

    Buddy please don't use abusive words because your content is educational everybody watches it on laptop and sometimes family is around

  • @coder_Aakher
    @coder_Aakher Місяць тому

    New subscriber for you! Im also learning react

  • @anybeethero4869
    @anybeethero4869 28 днів тому

    Please bring a qna video

  • @HINDUSTANI_CLUB
    @HINDUSTANI_CLUB 12 днів тому

    Hello bhai kya aap bata sakte hai mern sikhne mai kitna time lag sakta hai currently mai js pad raha hoon projects banana strt kar diye hain . React strt karne wala hoon final year mai hoon.

  • @ajaypanchal4847
    @ajaypanchal4847 7 днів тому +1

    i'm not able to understand logout api how it is working without provide any id and another things 🤔🤔🤔🤔🤔. but in my ocde it is not working . not remove cookie. i don't know how can you do with this code
    const logout = async (_, res) => {
    try {
    return res.cookie("token", "", { maxAge: 0 }).json({
    message: "Logged out successfully"
    })
    } catch (error) {
    console.log(error)
    }
    }
    but in my code this is not working

    • @user-dj5qd7ui9c
      @user-dj5qd7ui9c 4 дні тому

      const logout = async (req, res) => {
      try {
      // Clear the cookie
      res.cookie("token", "", {
      httpOnly: true,
      sameSite: 'Strict',
      expires: new Date(0)
      });
      return res.status(200).json({
      success: true,
      message: "Logged out successfully"
      });
      } catch (error) {
      return res.status(500).json({
      success: false,
      message: "Logout failed",
      error: error.message
      });
      }
      };

  • @sriRamayanaudio
    @sriRamayanaudio 15 днів тому

    please add some update when i see one notification its read and notification number will zero. and when someone like same post its show new notification and old one is also show as read notification

  • @rahadulhaq6387
    @rahadulhaq6387 26 днів тому

    from Bangladesh brother

  • @Scienceboy1214
    @Scienceboy1214 20 днів тому

    Bhai signup me problem aa raha hai,cannot read properties of un defined (reading data) at signuphandler aa raha hai

  • @Chatting81
    @Chatting81 23 дні тому

    55:00 bakchodi wala group was personal 😂😂

  • @UditChauhan-j6h
    @UditChauhan-j6h 6 днів тому

    Bhaiya deploy karne par realtime update nhi ho rha

  • @spidersk555
    @spidersk555 26 днів тому

    Bro this was amazing 🤩 i want to make minimalist music player so please make video tutorial

  • @MohitKhedwal-ly2yr
    @MohitKhedwal-ly2yr Місяць тому +1

    bhai please ek ERP system banao for college and placement very interesting project . I have been doing it but finding difficulty please help.

  • @bishtDevendra-el6tm
    @bishtDevendra-el6tm 20 днів тому

    Bhai apna jo linkedin pe food delivery project banaya h react redux aur api se please wo bana do bhut help milagai as a beginner 🙏🙏🙏

  • @HtmlCss-ib3gw
    @HtmlCss-ib3gw 27 днів тому

    Solute Man❤

  • @sarvsaran7
    @sarvsaran7 Місяць тому

    bro thank you. ❤❤❤❤ very nice.

  • @Mahesh_patidar
    @Mahesh_patidar Місяць тому +1

    Bhaiya please next project Spotify ❤

  • @ManishKumar-d9b3j
    @ManishKumar-d9b3j Місяць тому

    Good Project brother btw are you working somehwere ?

  • @AbcXyz-h1o
    @AbcXyz-h1o 14 днів тому

    Bhai heroku per deployment ka bhi ek short video bna do

  • @rajeshjha8674
    @rajeshjha8674 19 днів тому

    Patel bhaiya.. Banking ka koi MERN project banwa do please

  • @CyberTom-00
    @CyberTom-00 Місяць тому

    Nice bro 👍 yashika 😎

  • @akshitaguru
    @akshitaguru Місяць тому

    i did everything same but during request sending through thunder client, it's showing 404 Not Found status. pls help

  • @CodingMaster-iv6vx
    @CodingMaster-iv6vx Місяць тому +1

    Mern stack pr food order delivery app laaona bhaiyya please kisi ne v acche se nhi bataya hai aap se expect krta hu aap project k through padhate chalte ho jo kafi accha lagta hai.please la dena ye app

  • @Itsatish3
    @Itsatish3 21 день тому

    very best video all over youtube
    NOW please make video making apk of it and connect to same database

  • @hindivines462
    @hindivines462 Місяць тому

    New subscriber ❤

  • @zafargaming0505
    @zafargaming0505 Місяць тому

    Amazing

  • @one_sh
    @one_sh 22 дні тому

    Which vscode theme you are using ?

  • @vaishnavi1494
    @vaishnavi1494 Місяць тому

    Sir project is very nice but if you add searching algorithm it give damm cool✨👍

  • @Vampire_robux69
    @Vampire_robux69 Місяць тому

    Finally 💖🔥🔥🔥

  • @outsourcegb
    @outsourcegb Місяць тому

    I wonder why you aren't creating a single API and UI for each function, and then another API and UI for another function.
    Alternatively, you could create one UI or React page with its corresponding API, and do the same for the next page. This approach could help students maintain momentum and interest.
    What do you think?

  • @danishshah627
    @danishshah627 25 днів тому

    Bhai aap ne itni mehnat ki video bhi banai aur source code bhi de diya 😶

    • @patelmernstack
      @patelmernstack  24 дні тому +1

      Mera ek hi maksad. Aap logo ko seekhana hai PRO FullStack developer. 🚀 source code deta hu taki kisi ko peoblem aaye toh dekh ske

  • @Axorax
    @Axorax Місяць тому

    nice 🔥🔥

  • @evilgaming000
    @evilgaming000 16 днів тому

    Bro jab user koi post kerta hai to ek image cloudinary per upload hota, to sab koi user apna koi post delete karega tab cloudinary se bhi to delete hona chaiye na nhi to bo bekar me space reserve kerke rakhega?

    • @patelmernstack
      @patelmernstack  16 днів тому

      Ha uske liye tum delete wale controller me destroy use kr skte ho.

    • @evilgaming000
      @evilgaming000 16 днів тому

      @@patelmernstack usme to shayed key dena dota na url me jo rehta?

  • @sunny-g1m6z
    @sunny-g1m6z Місяць тому

    bhai kitna essan karoge ham gareeb ko superb bhai really brother back to back banger bro

    • @patelmernstack
      @patelmernstack  Місяць тому

      Thank you brother for your love & support. ❤

  • @bishtDevendra-el6tm
    @bishtDevendra-el6tm 20 днів тому

    Maina apko phla bhi bola tha syd app bhul gya hoga please da iss week bando 🙏 request h apsa

  • @pragatijadhav26
    @pragatijadhav26 16 днів тому

    Make a video on how you learn mearn stack

  • @sarveshgarg9209
    @sarveshgarg9209 Місяць тому

    Nice Video

  • @ShadowGarden123-h3g
    @ShadowGarden123-h3g 29 днів тому +1

    is it beginner friendly

  • @Jenilpatel3637
    @Jenilpatel3637 25 днів тому +1

    3:52:00 backend completed !!

  • @amandhiman4405
    @amandhiman4405 Місяць тому

    Bhai isme story or reels ki functionality kaise add hogi video banao please mane job portal bana liya h bhai

  • @vaibhavsoni2182
    @vaibhavsoni2182 14 днів тому

    can we upload a video too, if yes then what should i do for that?

    • @patelmernstack
      @patelmernstack  13 днів тому +1

      Upload video from your system rather than image. And you have to allow cloudinary for video as well.

  • @KrManishPatelofficial
    @KrManishPatelofficial 11 днів тому

    bhai kya yah website responsive h?

  • @vipinsingh7926
    @vipinsingh7926 15 днів тому

    Hello bhaiya 2:14:30 pe logout api test karte time bas processing hi ho rha hai (gol gol ghum rha hai bas)10 minut se wait kar rha hu koi result nhi aaiya h 😢😢😢😢

    • @patelmernstack
      @patelmernstack  13 днів тому +1

      Jab api integrate kr rhe ho toh vha finally block me loading false krna hai.

  • @trishitbhowmik9414
    @trishitbhowmik9414 Місяць тому

    please make a backend learning course, I have tried to learn from chai aur code but that was very advanced i feeel, can u teach backend from scratch? or give me some new resources to learn

  • @danishshah627
    @danishshah627 15 днів тому

    Bhai aap autocomplete ke liye konsi extension use karte ho (for classes)

    • @patelmernstack
      @patelmernstack  15 днів тому +1

      For tailwind class -> Tailwind css intellisense

  • @random-o2p
    @random-o2p Місяць тому

    Bhai woh tmne follow/unfollow ka feature implement kiya h kya.. Kyunki tmne jo code github pe push kiya usme ig nahi h abhi tk!!
    Demo se thoda alag lg raha ek baar dekho ki latest code push kiye ho kya

  • @raulcava5959
    @raulcava5959 10 днів тому

    🙏 redux-persist/createPersistoid: error serializing state TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'gS'
    | property 'io' -> object with constructor 'mf'
    | property 'nsps' -> object with constructor 'Object'
    --- property '/' closes the circle
    at JSON.stringify () Does anyone know this error? It appears right when I log in, also some 401 GET ???? Thanks 🙏

  • @agratanade771
    @agratanade771 Місяць тому

    how can i use django instead od mongodb

  • @vipinsingh7926
    @vipinsingh7926 3 дні тому

    Hello bhaiya edit profile ka api test karte time "UNEXPECTED:FIELD " Name ka error aa rha hai jisme node module me multer folder ke andar index. Js name ki file hai useme check karne par ' LIMIT_UNEXPECTED_FILE ' AA RHA HAI HELP ME PLEASE

  • @AbhishekKumarGupta123
    @AbhishekKumarGupta123 18 днів тому

    bhai Job-Portal aur iss wale project ko responsive kr do plzzzz

  • @nishchaynish
    @nishchaynish 23 дні тому

    bro next project real time ticket booking ya integrating payment gateway kuch late !

    • @patelmernstack
      @patelmernstack  23 дні тому

      Yes, stripe payment gateway included hai next MERN project me.

    • @nishchaynish
      @nishchaynish 22 дні тому

      @@patelmernstack kab tak aayega bhaiya project koi idea

  • @Movies_adducted_mind
    @Movies_adducted_mind 27 днів тому

    Bhai logic building kaha se sikha aapne mujhe bhi bta do yaar prectics kiya mene fir bhi nahi ho rha ! javascript

    • @patelmernstack
      @patelmernstack  26 днів тому

      Practice krte rho logic banna start ho jyega.

  • @De-CODE7
    @De-CODE7 Місяць тому +1

    Spotify clon please bhi bhot bar requests kar chuka hu🙃

    • @patelmernstack
      @patelmernstack  Місяць тому

      @@De-CODE7 Noted!

    • @De-CODE7
      @De-CODE7 Місяць тому

      @@patelmernstack is bar bana do bhi..
      Har bar noted he bol ta ho 😭🫠

  • @itzmranonymous
    @itzmranonymous 27 днів тому

    Bro i am beginner so plz tell how much should i learn first to start with these projects

    • @patelmernstack
      @patelmernstack  27 днів тому

      At least very basic mern knowledge required.

  • @ankanroy4040
    @ankanroy4040 Місяць тому

    Please Bhaiya videos ko partition kar Dena....dekhne mai easy hoga

  • @LIEBE-c2c
    @LIEBE-c2c 19 днів тому

    during testing api when i try to upload image
    {
    error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' }
    }

  • @AsianServer
    @AsianServer Місяць тому

    Pre requisite kya hai sir?

  • @shashank7590
    @shashank7590 Місяць тому +1

    MAKE MORE MERN STACK VIDEOS AND YOUR CHANNEL WILL GROW FAST ❤❤ , YOu can check stats of your videos --- more people want quality MERN STACK PROJECTS, like this :) THANKS, #MORE MERN PROJECTS

    • @patelmernstack
      @patelmernstack  Місяць тому

      Nice idea 💡.
      Thanks for watching ❤❤

  • @MathWithRamveer
    @MathWithRamveer Місяць тому

    Please add comment reply features

  • @Arzaid-xw2wt
    @Arzaid-xw2wt Місяць тому

    Shivani : hello patel patel : hello Shivani : chalo ghumne patel : chalo Shivani : ni jaungi