Socket.io Introduction - How to Build a Chat App

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

ความคิดเห็น • 53

  • @adelprog
    @adelprog 11 หลายเดือนก่อน +7

    First, thanks for this tutorial.
    - In recent versions of Node.js, we don't need any extra packages to monitor file changes (like nodemon), We can simply add the flag "--watch".
    - Even on the same server, using different ports for the frontend and backend will result in CORS errors.

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  11 หลายเดือนก่อน +7

      Yes that is with version 20.6 and up I believe. It has not reached long-term support version as of this video or this post. I'm sure it will soon.

    • @akintobby
      @akintobby 11 หลายเดือนก่อน

      ​​@@DaveGrayTeachesCodeyes that's. The --watch flag is an experimental feature on node v.18

  • @dustchenai
    @dustchenai 11 หลายเดือนก่อน +2

    Good job,thanks Dave,and I am from China,I hope more and more developers in China could have access to your demonstrations if there is no Great Fire Wall.

    • @galibkiyaadein4627
      @galibkiyaadein4627 11 หลายเดือนก่อน

      Stop eating 😢 sh!ts bro please preserve humanity we don't want another virus 🦠😓

  • @kirolosmahfouz9173
    @kirolosmahfouz9173 11 หลายเดือนก่อน +1

    during the series enhance styles and it will be great if you use database to store messages and convert frontend to react it will be awesome

  • @pikusionexio
    @pikusionexio 11 หลายเดือนก่อน +3

    Loving the series. much appreciated as always

  • @tat-lyubch
    @tat-lyubch 10 หลายเดือนก่อน

    Which a couple of errors I eventually has done 2 of this tutorials today. Thank you for explanation!

  • @svetoslavtrifonov6431
    @svetoslavtrifonov6431 11 หลายเดือนก่อน +1

    Great video. I hope you will show us uploading files (images, docs , etc) and storing them. Also it would be great to have chat history with room or person, what are the best practices to store the history and user settings in some db :). What are other scenarios to use web sockets, what else are they good for (shops, warehouse inventory or something like that). Thank you for the video

    • @replicant9611
      @replicant9611 11 หลายเดือนก่อน

      I really like this kind of comments. Each time Dave or any other tutor on TH-cam posts a video, there's a request to build a full-fledged app with any esoteric requirements that can even come up into one's head. They just give yout essential concepts how things work. If you are software engineer, you should figure out yourself how to upload files and add chat history feature.

    • @svetoslavtrifonov6431
      @svetoslavtrifonov6431 11 หลายเดือนก่อน +1

      hmmm I thought part of the tutorials is to give the esentials or more common things, but hey ok if he make a video about this I urge you not to watch it. I really like Dave videos and it is up to him what he will show us and what is not worth it, not you or anyone else. If you are his agent and he gave you a task to speak for himself its ok I rearly comment anyway. Be well mr. Pro software engineer

  • @VhttaKappa
    @VhttaKappa 11 หลายเดือนก่อน +1

    hi Dave! Great content . Thanks for every information you provide us! Will you do any demonstration with socket rooms and online users concept?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  11 หลายเดือนก่อน +2

      Yes, soon

    • @VhttaKappa
      @VhttaKappa 11 หลายเดือนก่อน

      @@DaveGrayTeachesCode Thanks for your response. Have a good day.

  • @myblog8751
    @myblog8751 11 หลายเดือนก่อน +2

    Just found out you are getting married Congratulations 🎉🎉👏 👏 for your marriage 🥳💕 in advance

  • @RezHimself
    @RezHimself 4 หลายเดือนก่อน

    Awesome as always , Big fan Dave 🙌

  • @rishabhmehrotra6976
    @rishabhmehrotra6976 9 หลายเดือนก่อน

    Amazing Tutorials Sir. You have changed my entire vision and interest.

  • @AjithKumarsham
    @AjithKumarsham 11 หลายเดือนก่อน

    Great content!! Looking forward for socket series. Thanks!

  • @deniserodriguez3233
    @deniserodriguez3233 11 หลายเดือนก่อน +1

    Holy shishkabob, just in time too. Thank you!

  • @biLLie_wiLLie
    @biLLie_wiLLie 11 หลายเดือนก่อน

    Thank you Dave! I'm waiting for nest js course. Even if it's paid

  • @gustavoperez231191
    @gustavoperez231191 11 หลายเดือนก่อน

    Great video Dave, im waiting for the next videos!, In this class i have an issue and i dont have errors in my console the message displays correctly but in webpage the li items doesn't append to the ul, i don't know why, but im still researching.

  • @user-vs4el9st1c
    @user-vs4el9st1c 11 หลายเดือนก่อน

    Thank you so much I'm really appreciate that you work hard to give us this informations 💛 🙏 💓 💗

  • @ravindersinghnegi3453
    @ravindersinghnegi3453 11 หลายเดือนก่อน

    Hi Dave this is very good and helpful video bro. I was struggling from last 3 days and now by your video I was able to solve that issue. Dave I have one query Can you please help me out. my socket is running fine in local but in production I am getting "Session ID unknown" error how to fix this please help me out

  • @dylanp9700
    @dylanp9700 11 หลายเดือนก่อน

    just a quick tip
    we can do 'npm un' for 'npm uninstall'

    • @bugraotken
      @bugraotken 10 หลายเดือนก่อน +1

      "npm rm" too

  • @Anonymous____________A721
    @Anonymous____________A721 9 หลายเดือนก่อน +1

    Tq sir 🥺

  • @mikelautensack7351
    @mikelautensack7351 11 หลายเดือนก่อน

    Can you do a video on how to use socket io with next 13 app router?

  • @TSpods
    @TSpods 11 หลายเดือนก่อน

    Thank You, great content, exelent teacher

  • @sonamohialdin3376
    @sonamohialdin3376 11 หลายเดือนก่อน

    Very helpful tutorial thank you

  • @TRENDINGTECHSCHANNEL
    @TRENDINGTECHSCHANNEL 11 หลายเดือนก่อน

    why live data sometime slow the performance of browser..which points to keep in mind when using socket io

  • @davidhusted817
    @davidhusted817 11 หลายเดือนก่อน

    Thanks sir always the best teacher

  • @sibusisokumalo7718
    @sibusisokumalo7718 11 หลายเดือนก่อน

    St Dave Gray! 😇. Thank you!

  • @mustafamercan9168
    @mustafamercan9168 11 หลายเดือนก่อน

    u are perfect. I needed this...

  • @es7729
    @es7729 11 หลายเดือนก่อน

    Thanks, Dave!!

  • @MOJICA7257
    @MOJICA7257 11 หลายเดือนก่อน

    Thanks Dave!! Cheers🎉🎉🎉

  • @mrbilchalan
    @mrbilchalan 11 หลายเดือนก่อน

    So, in this case, it always established connection with socket server when you open the chat app? But if it needed user authentication then after authentication it establish connection, right? Sorry if my questions seems funny. Always love you.♥

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  11 หลายเดือนก่อน

      Yes, you would create the connection after authentication

  • @patrickrios99
    @patrickrios99 11 หลายเดือนก่อน

    Oh excellent video, thanks for sharing

  • @faizanahmed9304
    @faizanahmed9304 11 หลายเดือนก่อน

    Thank you sir!

  • @joyustcian222
    @joyustcian222 11 หลายเดือนก่อน

    Thanks a lot

  • @hawarhekmat1174
    @hawarhekmat1174 11 หลายเดือนก่อน

    Great video, NextJS will be so good. :(

  • @tetyanagon3342
    @tetyanagon3342 11 หลายเดือนก่อน

    TY!

  • @basiccoder2166
    @basiccoder2166 11 หลายเดือนก่อน +1

    Fantastic

  • @leojohn6702
    @leojohn6702 11 หลายเดือนก่อน

    Many thanks. Btw, is it possible to establish a ws connection via an express route? So if I am doing a chat app, it wont be fully web socket, but express?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  11 หลายเดือนก่อน +2

      You can use Express with sockets and I will in the next tutorial. It won't use an express route though. The socket server just listens for a connection.

  • @VinayakSoni98
    @VinayakSoni98 5 หลายเดือนก่อน

    would love to see scylladb/cassandra/ mongodb integration. with redis and other technologies.

  • @xXxAtkinsxXx
    @xXxAtkinsxXx 7 หลายเดือนก่อน

    When i type a message it outputs the dynamic key but the value is {data}
    I9SkH: {data}
    anyone have any ideas as to why it is different when the code is the same?

    • @xXxAtkinsxXx
      @xXxAtkinsxXx 7 หลายเดือนก่อน

      nvm... found the bug... missed a $ on my string interpolation

  • @ghassanclassic7689
    @ghassanclassic7689 11 หลายเดือนก่อน

    Thank you very much Dave 🙏

  • @waseemusman421
    @waseemusman421 11 หลายเดือนก่อน +1

    great

  • @mdkawsarislamyeasin4040
    @mdkawsarislamyeasin4040 11 หลายเดือนก่อน +1

    Uhu, I have been searching this kind of video (latest)
    Now got it.

  • @VinayakSoni98
    @VinayakSoni98 11 หลายเดือนก่อน

    Let's write more code together. Sir