Socket.io Introduction - How to Build a Chat App

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 53

  • @adelprog
    @adelprog Год назад +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  Год назад +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 Год назад

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

  • @RezHimself
    @RezHimself 5 месяцев назад +1

    Awesome as always , Big fan Dave 🙌

  • @dustchenai
    @dustchenai Год назад +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 Год назад

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

  • @pikusionexio
    @pikusionexio Год назад +3

    Loving the series. much appreciated as always

  • @kirolosmahfouz9173
    @kirolosmahfouz9173 Год назад +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

  • @deniserodriguez3233
    @deniserodriguez3233 Год назад +1

    Holy shishkabob, just in time too. Thank you!

  • @tat-lyubch
    @tat-lyubch 11 месяцев назад

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

  • @rishabhmehrotra6976
    @rishabhmehrotra6976 10 месяцев назад

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

  • @svetoslavtrifonov6431
    @svetoslavtrifonov6431 Год назад +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 Год назад

      I really like this kind of comments. Each time Dave or any other tutor on RUclips 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

  • @biLLie_wiLLie
    @biLLie_wiLLie Год назад

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

  • @AjithKumarsham
    @AjithKumarsham Год назад

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

  • @عثمانصالح-ه1ر
    @عثمانصالح-ه1ر Год назад

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

  • @VhttaKappa
    @VhttaKappa Год назад +1

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

  • @sibusisokumalo7718
    @sibusisokumalo7718 Год назад

    St Dave Gray! 😇. Thank you!

  • @myblog8751
    @myblog8751 Год назад +2

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

  • @davidhusted817
    @davidhusted817 Год назад

    Thanks sir always the best teacher

  • @Anonymous____________A721
    @Anonymous____________A721 10 месяцев назад +1

    Tq sir 🥺

  • @mustafamercan9168
    @mustafamercan9168 Год назад

    u are perfect. I needed this...

  • @TSpods
    @TSpods Год назад

    Thank You, great content, exelent teacher

  • @patrickrios99
    @patrickrios99 Год назад

    Oh excellent video, thanks for sharing

  • @hawarhekmat1174
    @hawarhekmat1174 Год назад

    Great video, NextJS will be so good. :(

  • @sonamohialdin3376
    @sonamohialdin3376 Год назад

    Very helpful tutorial thank you

  • @gustavoperez231191
    @gustavoperez231191 Год назад

    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.

  • @MOJICA7257
    @MOJICA7257 Год назад

    Thanks Dave!! Cheers🎉🎉🎉

  • @es7729
    @es7729 Год назад

    Thanks, Dave!!

  • @ravindersinghnegi3453
    @ravindersinghnegi3453 Год назад

    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

  • @faizanahmed9304
    @faizanahmed9304 Год назад

    Thank you sir!

  • @dylanp9700
    @dylanp9700 Год назад

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

    • @bugraotken
      @bugraotken 11 месяцев назад +1

      "npm rm" too

  • @basiccoder2166
    @basiccoder2166 Год назад +1

    Fantastic

  • @mikelautensack7351
    @mikelautensack7351 Год назад

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

  • @joyustcian222
    @joyustcian222 Год назад

    Thanks a lot

  • @mrbilchalan
    @mrbilchalan Год назад

    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.♥

  • @tetyanagon3342
    @tetyanagon3342 Год назад

    TY!

  • @TRENDINGTECHSCHANNEL
    @TRENDINGTECHSCHANNEL Год назад

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

  • @waseemusman421
    @waseemusman421 Год назад +1

    great

  • @ghassanclassic7689
    @ghassanclassic7689 Год назад

    Thank you very much Dave 🙏

  • @mdkawsarislamyeasin4040
    @mdkawsarislamyeasin4040 Год назад +1

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

  • @leojohn6702
    @leojohn6702 Год назад

    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  Год назад +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 6 месяцев назад

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

  • @xXxAtkinsxXx
    @xXxAtkinsxXx 8 месяцев назад

    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 8 месяцев назад

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

  • @VinayakSoni98
    @VinayakSoni98 Год назад

    Let's write more code together. Sir