Create Real-Time Chat System using Deno WebSocket
Let’s see who is joined or who left
Real-Time Message and Registration system

Chapters:

  1. (00:00) Intro to WebSocket
  2. (01:20) Setup WebSockets
  3. (14:26) Close WebSocket Connection
  4. (17:03) Getting Data from WebSocket
  5. (21:18) Talk to Different Websocket
  6. (28:22) Broadcast to others only
  7. (32:57) Handle Http Connections
  8. (40:20) HTTP and ws on the same route
  9. (46:27) Send Event from Html file
  10. (52:46) Send Json in event
  11. (56:58) Register with name
  12. (01:03:52) Create Join Event
  13. (01:09:44) Show Joined User
  14. (01:13:01) Show all Online Users
  15. (01:17:51) Create User leave event
  16. (01:23:07) Remove leaved user
  17. (01:26:17) Handle Closed Connection
  18. (01:30:11) Refactor Main file
  19. (01:39:08) Display User Name
  20. (01:46:40) Real-Time Chat
  21. (01:53:45) Message From You

Useful Links:
Docs: https://deno.land/
Source Code: https://github.com/bitfumes/deno-js-with-mongodb-course

Deno Modules Used:
Oak Middleware Framework https://deno.land/x/oak
Encrypt Password https://deno.land/x/bcrypt
Generate JWT Token https://deno.land/x/djwt
Mongo DB Driver https://deno.land/x/mongo

#deno #node #websocket #web-development #developer

Create Real-Time Chat System using Deno WebSocket
29.25 GEEK