Тёмный

WebSocket Tutorial with Spring Boot | Build One On One Chat Application 

Bouali Ali
Подписаться 57 тыс.
Просмотров 65 тыс.
50% 1

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 207   
@BoualiAli
@BoualiAli 10 месяцев назад
🔥 Secure your spot now and embark on your journey to becoming a Spring Boot master! Use promo code "EARLY_BIRD_30" during registration to enjoy this incredible 30% discount. Don't miss out on this opportunity! 🔥 Course link: aliboucoding.com/p/spring-boot-in-depth?coupon_code=EARLY_BIRD_30&product_id=4985811
@JanNdungu
@JanNdungu 7 месяцев назад
Thank you so much for bringing these tutorials closer
@mohamedtaher3605
@mohamedtaher3605 4 месяца назад
Thank you so much . the frontend with Angular please
@davidxcode
@davidxcode 6 месяцев назад
Thank you very much for this amazing demo. I only have one observation, every time a user connects you can see in the spring log the message "WebSocketAnnotationMethodMessageHandler : Unhandled exception from message handler method" Caused by: java.lang.IllegalArgumentException: Expected destination pattern "/user/{userId }/**". I don't know if it's something from the front or the back but I'm going to check it out. However the application works. Thanks Ali!
@pablomagnavachi2961
@pablomagnavachi2961 5 месяцев назад
Hi, i have the same problem, could you solve it?
@davidxcode
@davidxcode 5 месяцев назад
@@pablomagnavachi2961 No bro, at the time I didn't succeed and then I didn't try anymore.
@aadiraj6126
@aadiraj6126 5 месяцев назад
In your WebSocketConfig.java class at line number 24, Alibou forget to add complete path. Remove this line=> registry.setUserDestinationPrefix("/user"); Add this line=> registry.setUserDestinationPrefix("/user/{userId}/**"); And now you won't get any error. Program executes and output comes smoothly too.
@vinimaciel
@vinimaciel 3 месяца назад
@@aadiraj6126 Hi, I tried this but now the users dont recieve any messages, have you solved this issue?
@vadimmychkov4887
@vadimmychkov4887 10 месяцев назад
Thanks for this tutorial! Would be great to see the frontend written on Angular
@BoualiAli
@BoualiAli 10 месяцев назад
Sure, coming soon
@anisghadhab2863
@anisghadhab2863 6 месяцев назад
​@@BoualiAli we are still waiting for the angular adaptation :D
@ahmedhassine5837
@ahmedhassine5837 6 месяцев назад
@@BoualiAli we are still waiting 😒
@ubevangrimbergen7553
@ubevangrimbergen7553 4 месяца назад
@@BoualiAli Still waiting :P
@redwanemahjoubi7065
@redwanemahjoubi7065 9 месяцев назад
We are anticipating a similar example using angular
@danielgobina9430
@danielgobina9430 10 месяцев назад
Thank you very much, I've always wanted to create websockets in some of my applications without success. I'm really happy to have seen this video and I'm learning a lot by following your courses. I'm interested in an Angular websocket implementation. 😇
@BoualiAli
@BoualiAli 10 месяцев назад
Great to hear!
@Robcuisimplu
@Robcuisimplu 9 месяцев назад
Also I'm interested in the angular's websocket imp. Please do a video
@cheikhmohamedmamyzeine2402
@cheikhmohamedmamyzeine2402 9 месяцев назад
Great video! We are eagerly anticipating the Angular implementation.
@BoualiAli
@BoualiAli 5 месяцев назад
soon
@mohamedtaher3605
@mohamedtaher3605 5 месяцев назад
@@BoualiAli Can't wait for the Angular implementation. 🤞
@AnghamJbeli-jv7ds
@AnghamJbeli-jv7ds 3 месяца назад
@@BoualiAli hello thank you so much this tutorial is so helpful please we are waiting for the angular implementation
@goddenmass736
@goddenmass736 6 месяцев назад
Thank you very much @Bouali Ali do the frontend with Angular plz🥺
@hienvietsub
@hienvietsub 4 дня назад
You make the comment function have notification like facebook, thank you
@ibrahim-ry6sn
@ibrahim-ry6sn 10 месяцев назад
We need a full new course of angular 17 and whats new and what is ssr added lately in angular sir ??❤❤thank you by the way yaychaaak❤❤
@BoualiAli
@BoualiAli 10 месяцев назад
Sure, soon
@LUITEN1
@LUITEN1 3 месяца назад
Hi Ali! I want to thank you for this content!!! It brings up a lot of insight and cool tips that are helping me, all the little details like breaking lines or getting back and forth between the modules explained really sets your content appart.Keep up the good work!! I'll be happily waiting for the angular or react implementation, mainly because of the curiosity of your code design approach!!
@BoualiAli
@BoualiAli 14 дней назад
Coming next week
@KENFACKKOKOEDDYINFORMATICIEN
@KENFACKKOKOEDDYINFORMATICIEN 9 месяцев назад
Amazing course and i just wanna know if you prepare version 2 with angular . I hope, it's already on the way
@BoualiAli
@BoualiAli 5 месяцев назад
Glad you liked it!
@dennis_benjamin
@dennis_benjamin 10 месяцев назад
Exactly what I am building right. Just on time 😀
@BoualiAli
@BoualiAli 10 месяцев назад
Enjoy!
@balticspirit3082
@balticspirit3082 4 месяца назад
Thanks for your awesome work! Your videos actually helped me to solve a coding challenge and get a job offer!
@BoualiAli
@BoualiAli 4 месяца назад
Great to hear!
@MyEvghenii
@MyEvghenii 7 месяцев назад
Hello, thank you for your videos. Would be great to see implementation with Angular!
@BoualiAli
@BoualiAli 5 месяцев назад
Noted
@vandyun5175
@vandyun5175 2 месяца назад
Thank you Ali for always sharing an interesting content.
@BoualiAli
@BoualiAli 14 дней назад
My pleasure
@user.java200
@user.java200 28 дней назад
Thanks a lot bro! Appreciate it🤝
@BoualiAli
@BoualiAli 14 дней назад
Happy to help
@martijnhiemstra
@martijnhiemstra 4 месяца назад
Thanks for the tutorial. Just some points that aren't needed. You don't have to register the default message converter. All json messages are converted to and from objects, just like in @RestController with requestbody, without any configuration. Also the @payload annotation is not needed.
@pawezakrzewski6279
@pawezakrzewski6279 7 месяцев назад
In min 32 you retrieve a Optional of class user and there is no point in throwing null if its empty. In if statement that follows in my opinion it should be isPresentCheck because current implementation is prone to null pointer exception and does not use the advantages of Optional. But anyways a great tutorial. Currently going through it with my chat app project. Thanks!
@MrBluu-pu2mt
@MrBluu-pu2mt 4 месяца назад
Great video! I am eagerly waiting for the frontend with Angular!
@BoualiAli
@BoualiAli 4 месяца назад
Coming soon!
@rohanreddy2067
@rohanreddy2067 10 месяцев назад
Its one of the best video and highly appreciated the efforts you put .can you make a full stack real world application type following react with springboot using all industry best practices with advanced Libraries?
@CemretheFangirl
@CemretheFangirl 2 месяца назад
mine doesn't show notifications and messages if I don't click to user again even though I coded everything same...
@nicolasdmartin89
@nicolasdmartin89 Месяц назад
I have the same problem, if you find the solution please let me know. If I find the error I'll let you know here.
@CemretheFangirl
@CemretheFangirl Месяц назад
@@nicolasdmartin89 I realized the path is wrong and after debugging I deleted registry.setUserDestinationPrefix from configureMessageBroker method
@marytraore1561
@marytraore1561 10 месяцев назад
Thank you very much, WebSocket chats in applications interest me a lot, however it is possible that you make a video in which a project done in nestjs for the backend, angular for the frontend and MongoDb for the database. THANKS
@BoualiAli
@BoualiAli 10 месяцев назад
I will make Frontend with Angular soon if I find enough people interested
@mubasherusman3943
@mubasherusman3943 8 месяцев назад
This is good for initial leraning concepts, But How this Queue bases architecture scale when we have millions of users ? Will we create queue for each user?
@SurajPandey-vi9gr
@SurajPandey-vi9gr 4 месяца назад
Hey i downloaded your source code and did mvnw clean install. Now it says 'Build Success', but it doesn't run in my browser. How should i do that ? I want to show this project in my school. I don't have a mongodb, i have a mysql !
@mona9741
@mona9741 8 месяцев назад
Would it be appropriate to use a relational db in this project?
@BoualiAli
@BoualiAli 5 месяцев назад
yes you can
@replicant9611
@replicant9611 10 месяцев назад
Hi, thank you for this tutorial! I have a question. You currently do it in a "monolithic" style by serving html from the server. How would you do it in REST API style? Like when you have React frontend independent from the backend?
@BoualiAli
@BoualiAli 10 месяцев назад
Already planned soon
@snbwcs
@snbwcs 10 месяцев назад
Looking forward to it !@@BoualiAli
@lilinh9631
@lilinh9631 7 месяцев назад
I'd love to follow the Angular tutorial for this! Thank you! Also, next time, can you explain a little more about stomp, broker and stuff... I a newbie to WS and I don't really understand that
@edwardhanson8039
@edwardhanson8039 5 месяцев назад
Can you implement it using a relational database?
@BoualiAli
@BoualiAli 5 месяцев назад
It should be the same, just moving from nosql to sql db. I did that many times in different videos
@hamzaaissami5102
@hamzaaissami5102 4 месяца назад
hello ali a great work from u, please can we link it with postgresql ?
@huseyinaydin1002
@huseyinaydin1002 10 месяцев назад
I love BouAli. I watched Türkiye. Spring Blood ❤
@BoualiAli
@BoualiAli 10 месяцев назад
Love from Tunisia
@appscastle
@appscastle 5 месяцев назад
doest it have to be no sql? i want to do it in postgres
@BoualiAli
@BoualiAli 5 месяцев назад
It does not. Feel free to implement it with a relational database
@nelsonjoseanselmo1549
@nelsonjoseanselmo1549 3 месяца назад
how to increase file uploads
@peachezprogramming
@peachezprogramming 7 месяцев назад
using var in java is a cardinal sin great video tho, thanks for sharing
@BoualiAli
@BoualiAli 5 месяцев назад
Cool, thanks
@ethanhamilton4494
@ethanhamilton4494 4 месяца назад
Is it easy to implement Group Chats with this App???
@BoualiAli
@BoualiAli 4 месяца назад
Yes
@fitnessholicmallu3588
@fitnessholicmallu3588 5 месяцев назад
Hope the angular implementation will release soon !
@BoualiAli
@BoualiAli 5 месяцев назад
I will provide it in the Book Social Network serie
@fitnessholicmallu3588
@fitnessholicmallu3588 5 месяцев назад
@@BoualiAli Thank you sir...
@Yourclassmate
@Yourclassmate Месяц назад
great expanation
@marcosribeiro2304
@marcosribeiro2304 5 месяцев назад
Hi Bouali, Thanks for the tutorial, I am just wondering if there is a way to work around the exception message indicating an IllegalArgumentException caused by an expected destination pattern of "/user/{userId}/**". I tried a few things but it didn't work. edit: To fix it I had to add another prefix registry.enableSimpleBroker("/user", "/topic"); and change the javascript subscribe and UserController, not sure if this would be the best approach tho.
@BoualiAli
@BoualiAli 5 месяцев назад
thanks for sharing
@vinimaciel
@vinimaciel 3 месяца назад
Hi, what did you change in the controller and subscribe functions?
@sytien492
@sytien492 5 месяцев назад
Thank you so much. 😍😍😍
@BoualiAli
@BoualiAli 5 месяцев назад
You're welcome 😊
@kedilervekuslar8791
@kedilervekuslar8791 10 месяцев назад
Hello, can we implement the Spring security to this app? Is it hard? I really need to make an authenticated users and provide secure messaging chat app. Thank You!
@BoualiAli
@BoualiAli 10 месяцев назад
I already published many security video using spring boot. Check them out
@MutantBikers
@MutantBikers 10 месяцев назад
Thank you 🙏
@BoualiAli
@BoualiAli 10 месяцев назад
You’re welcome 😊
@youngyb-lp4wc
@youngyb-lp4wc 11 дней назад
Angular
@softdev8229
@softdev8229 10 месяцев назад
Nice🎉
@BoualiAli
@BoualiAli 10 месяцев назад
Happy you liked it!
@ysacpebes1462
@ysacpebes1462 9 месяцев назад
Angular pls 🙏
@BoualiAli
@BoualiAli 5 месяцев назад
soon
@hkkabir2024
@hkkabir2024 4 месяца назад
wihtout security it's nothing
@BoualiAli
@BoualiAli 4 месяца назад
there tons of security videos in my channel. Follow carefully and you will be able to implement it yourself. Otherwise wait for the coming videos and you will get your answer
@hkkabir2024
@hkkabir2024 4 месяца назад
@@BoualiAli secure websocket though microservice . is that possible ? i am facing CORS error and it's quite impossible for me to sort it out no information over internet even nothign i can found into spring documentation too
@saikumardasari4220
@saikumardasari4220 10 месяцев назад
Most of the members are waiting for react js frontend
@BoualiAli
@BoualiAli 10 месяцев назад
Sure! Soon
@franmoyano6224
@franmoyano6224 5 месяцев назад
Banco el video pero que uses mac🤢
@BoualiAli
@BoualiAli 5 месяцев назад
I'm already using a Mac
@suragaryen3578
@suragaryen3578 9 месяцев назад
I'm lost,,, MySQL ver PLS 🥺🥺🥺🥺
@kazumasaytor6021
@kazumasaytor6021 7 месяцев назад
Hello, please, help me, When starting a project Caused by: java.lang.IllegalArgumentException: Expected destination pattern "/user/{userId}/**" And org.springframework.messaging.MessageDeliveryException: Failed to handle GenericMessage [payload=byte[58], The project is completely copied
@sebastiane.r.4195
@sebastiane.r.4195 7 месяцев назад
Bro.. I have the same issue ... could you solve it?
@OnlyTrueBob
@OnlyTrueBob 7 месяцев назад
@@sebastiane.r.4195 Hey Guys, I think I have this one figured out. I ran into it as well. (Someone correct me if I am wrong) So the reason this seems to be happening is because in the WebsocketConfig.java we are doing this: registry.enableSimpleBroker("/user"); Now it seems like Spring Boot expects specific destination patterns by default, so since we only registered the one endpoint and the one we used happened to use was "/users". When we try to hit the controller endpoint "/user.addUser" from the client we are point to @SendTo("/user/public") as the endpoint to send to. And SpringBoot sees this and thinks. Um... that doesn't look right, the endpoints going to "/user" should look like this: "/user/{userId}/**" To fix this error from popping up, i just created a new endpoint for the non-user specific public broadcast endpoints. So In the config i replaced the original with this: registry.enableSimpleBroker("/chatbroadcast","/user"); now we have two broker endpoints, and we can use the new endpoint name instead of /user when calling the @sendto in the controller. like this: @MessageMapping("/user.addUser") @SendTo("/chatbroadcast/public") public User addUser(@Payload User user){ userService.saveUser(user); return user; } @MessageMapping("/user.disconnectUser") @SendTo("/chatbroadcast/public") public User disconnectUser(@Payload User user){ userService.disconnect(user); return user; } And dont forget you have to change this in the main.js also function onConnected() { stompClient.subscribe(`/user/${nickname}/queue/messages`, onMessageReceived); stompClient.subscribe(`/chatbroadcast/public`, onMessageReceived); ---- I Modified this from "/user" to "/chatbroadcast" Also, i just called it chatbroadcast, because i needed to call it something. The name doesnt matter.(well, unless i picked a name that also happened to be some kind of default, lol) Hope this helps, it fixed it for me.
@maxmmaxm1591
@maxmmaxm1591 7 месяцев назад
@@sebastiane.r.4195++
@aadiraj6126
@aadiraj6126 5 месяцев назад
In your WebSocketConfig.java class at line number 24, Alibou forget to add complete path. Remove this line=> registry.setUserDestinationPrefix("/user"); Add this line=> registry.setUserDestinationPrefix("/user/{userId}/**"); And now you won't get any error. Program executes and output comes smoothly too.
@sebastiane.r.4195
@sebastiane.r.4195 5 месяцев назад
Thanks bro
@Multi159632478
@Multi159632478 8 месяцев назад
The Video lacks explanation. Seems as if you are just reading texts on teleprompter.
@BoualiAli
@BoualiAli 8 месяцев назад
I mentioned that for better understanding for websocket, go and watch the previous one which is in the same playlist as this video. Enjoy
@girishanker3796
@girishanker3796 7 месяцев назад
​@@BoualiAliHere after going through your previous video. I must say that both of your videos lack explanation. You are mostly reading the code you are going to write. You are not explaining why you are doing these things in the first place. It's like you have some other window opened with the full code and you are just copying and writing into this project. Please try to explain more in detail for the next upcoming React.js front end video with Web socket. Looking forward to it sir.
@ManishHarit
@ManishHarit 10 месяцев назад
Superb content... how about replace ui with react
@BoualiAli
@BoualiAli 10 месяцев назад
Glad you liked it. I will provide one for React / Angular
@samarthporwal656
@samarthporwal656 10 месяцев назад
Hi, thank you for this tutorial! I have a question. You currently do it in a "monolithic" style by serving html from the server. How would you do it in REST API style? Like when you have Angular frontend independent from the backend?
@BoualiAli
@BoualiAli 10 месяцев назад
I will create one soon
@samarthporwal656
@samarthporwal656 10 месяцев назад
also i am unable to sign in to localhost:8081 @@BoualiAli
@samarthporwal656
@samarthporwal656 10 месяцев назад
what username and password to give there
@BoualiAli
@BoualiAli 10 месяцев назад
@@samarthporwal656 there is no password
@samarthporwal656
@samarthporwal656 10 месяцев назад
It is showing me a alert sort of popup to sign in when i go to localhost:8081 to add username and password@@BoualiAli
@saikumardasari1887
@saikumardasari1887 10 месяцев назад
Looks good I'm waiting for react js example
@BoualiAli
@BoualiAli 10 месяцев назад
Soon!
@girishanker3796
@girishanker3796 7 месяцев назад
Anyone getting an error while doing connection using stompClient? Failed to load resource: the server responded with a status of 404 Whoops! Lost connection to the server. Any fix for this?
@kevintchato2990
@kevintchato2990 10 месяцев назад
Thanks for the video. Waiting for one with angular please
@BoualiAli
@BoualiAli 10 месяцев назад
Soon
@DeepakSharma-to1xh
@DeepakSharma-to1xh 25 дней назад
My websocket is not connecting on uat server but on local its working fine.can you help
@youssefnajjar-s5d
@youssefnajjar-s5d 7 месяцев назад
thank you for this special tutorial and we wait for angular or react frontend implementation
@BoualiAli
@BoualiAli 5 месяцев назад
Very soon
@mona9741
@mona9741 8 месяцев назад
Would it be easy to put the front end part in a separate react project?
@BoualiAli
@BoualiAli 5 месяцев назад
yes you can
@yogenderkoppu915
@yogenderkoppu915 10 месяцев назад
Very good explanation my vote for react js
@BoualiAli
@BoualiAli 10 месяцев назад
Sure!
@don_omar0
@don_omar0 9 месяцев назад
Can you also do the front end with react?
@BoualiAli
@BoualiAli 5 месяцев назад
sure
@sachinmishra3301
@sachinmishra3301 4 месяца назад
create in react js
@yassinedev-z9f
@yassinedev-z9f 16 дней назад
We are anticipating a similar example using angular
@BoualiAli
@BoualiAli 15 дней назад
Coming next Monday
@ukemeelijah6336
@ukemeelijah6336 4 месяца назад
I tried to use MYSQL for it but I am getting this error when I tried to make a chat "ChatMessage' must be manually assigned before calling 'persist()',". This error is actually from the ChatMessage Entity. please how can I resolve it?
@3VishalSingh
@3VishalSingh 4 месяца назад
Not working for me. can anyone guide me this with postman. working cURL or any suggestion for postman.
@arindampodder9294
@arindampodder9294 Месяц назад
great content .... need react in FE
@BoualiAli
@BoualiAli 14 дней назад
Good idea
@axelrod-_-
@axelrod-_- 2 месяца назад
1:48:00
@JuanR.Guerra
@JuanR.Guerra 6 месяцев назад
Hi friend, thank you very much for share your knowledge with us! I have a question here. When you say you organize the app by domain, does it mean that you are applying DDD?
@GmrSChannel
@GmrSChannel 10 месяцев назад
Greatest Teacher Of All Times ♥
@BoualiAli
@BoualiAli 10 месяцев назад
I really appreciate that ❤
@tusharrawat8843
@tusharrawat8843 8 месяцев назад
need this as a microservice so we can use it in multiple platform to create cross platform apps
@pradeepnampally7809
@pradeepnampally7809 10 месяцев назад
we are wating this example with react js
@BoualiAli
@BoualiAli 10 месяцев назад
Soon!
@bbcszone1
@bbcszone1 5 месяцев назад
@@BoualiAli Any updates on react? :) Thanks so much for everything!
@ArsenFesiuk
@ArsenFesiuk 10 месяцев назад
Please,you can create a voice chat(real-time) on the spring?
@legendnic6339
@legendnic6339 4 месяца назад
great content! i wanna see in action for angular!
@oussemaayari1460
@oussemaayari1460 6 месяцев назад
Thank you very much for the clear explanation !! I'm looking forward for the Angular Implementation (meanwhile I'll make an attempt on my own after learning Angular from your tutorials )
@BoualiAli
@BoualiAli 5 месяцев назад
soon
@mona9741
@mona9741 8 месяцев назад
I'm waiting for react front-end
@ezeraphael542
@ezeraphael542 8 месяцев назад
Hi! Thanks for this wonderful guide, now i have spring security configured in my application and i am using JWT authentication (bearer token). and because of this, i am getting a 404. how do i fix this?
@BoualiAli
@BoualiAli 5 месяцев назад
I will provide a video for it
@rafaou68
@rafaou68 10 месяцев назад
thanks you very much sir. i'm interested this projet with angular frontend and pring boot backend database mysql. thanks
@BoualiAli
@BoualiAli 10 месяцев назад
Will upload soon
@danielc.6644
@danielc.6644 6 месяцев назад
How hard would it be to implement this but with MySQL instead of MongoDB?
@BoualiAli
@BoualiAli 5 месяцев назад
not hard at all
@akhicj9071
@akhicj9071 5 месяцев назад
Hi, I have a problem whenever I reload my page It will come to the starting page
@BoualiAli
@BoualiAli 4 месяца назад
the state needs to be handled because refreshing the page will re-initialize everything
@faisalaleissa2012
@faisalaleissa2012 5 месяцев назад
Greet video , Can you make a kahoot clone in angular and spring boot
@BoualiAli
@BoualiAli 5 месяцев назад
good idea
@master-le5cd
@master-le5cd 6 месяцев назад
Can this also work using postgreSQL and React js?
@BoualiAli
@BoualiAli 5 месяцев назад
yes
@Mark-he1nr
@Mark-he1nr 10 месяцев назад
Thank you Bouali!I learn a lot from your video! I am just curious that if there is group chat video later, so that I can create multiple groups and keep the message in their own group channel, I will explore by myself first, but really looking forward to seeing your next video! Really appreciate your working!
@BoualiAli
@BoualiAli 10 месяцев назад
Honestly, not planning to do that for now
@AnghamJbeli-jv7ds
@AnghamJbeli-jv7ds 3 месяца назад
do you have the angular application of this please?
@BoualiAli
@BoualiAli 14 дней назад
will be released next week
@mohamedosmanhassona7487
@mohamedosmanhassona7487 2 месяца назад
Thank you Ali for always sharing an interesting content
@emilbeyerov3278
@emilbeyerov3278 5 месяцев назад
Awesome! We want to see angular imlementation
@BoualiAli
@BoualiAli 5 месяцев назад
Coming soon!
@TrungPham-ol7is
@TrungPham-ol7is 6 месяцев назад
Excuse me ! How can you call the GetMapping inside the same controller with MessageMapping I have tried several times but it not working, and how can you display user login logout real-time, hope you'll answer. Thanks!
@BoualiAli
@BoualiAli 4 месяца назад
just call the method But do you need that?
@TrungPham-ol7is
@TrungPham-ol7is 4 месяца назад
@@BoualiAli I figured it out, btw thanks a lot
@tenorio295
@tenorio295 10 месяцев назад
Is it easy to implement this in sql instead of mongodb?
@BoualiAli
@BoualiAli 10 месяцев назад
Yes
@ganszkyb
@ganszkyb 10 месяцев назад
Do you plan a sub-version with sessionConnect/Disconnect/Subscribe to manage the logon/logoff users?
@BoualiAli
@BoualiAli 10 месяцев назад
I already did it in the other Websocket video. The link is in the desccription
@ganszkyb
@ganszkyb 10 месяцев назад
@@BoualiAlisorry I missed :)
@mona9741
@mona9741 8 месяцев назад
in this tutorial, can i message users that are not online at this time?
@BoualiAli
@BoualiAli 8 месяцев назад
You can adjust the method that return the users list and get all the users (online and offline) and you will be able to send messages
@mona9741
@mona9741 8 месяцев назад
@@BoualiAli thank you, great video
@jeveuxque3020
@jeveuxque3020 10 месяцев назад
Thank you so much I have been waiting for this for so long
@BoualiAli
@BoualiAli 10 месяцев назад
Hope you like it!
@msh6783
@msh6783 10 месяцев назад
you are my hero🤩
@BoualiAli
@BoualiAli 10 месяцев назад
Happy you liked it!
@AnvarbekTurdaliyev
@AnvarbekTurdaliyev 10 месяцев назад
thank you
@BoualiAli
@BoualiAli 10 месяцев назад
You're welcome
@valentineejakpomewhe4352
@valentineejakpomewhe4352 7 месяцев назад
can you use this in production?
@BoualiAli
@BoualiAli 5 месяцев назад
yes with security
@valentineejakpomewhe4352
@valentineejakpomewhe4352 5 месяцев назад
Thank you
@143_nimit6
@143_nimit6 10 месяцев назад
thanks for this video. Timing of this video is perfect.
@BoualiAli
@BoualiAli 10 месяцев назад
Glad it was helpful!
@143_nimit6
@143_nimit6 10 месяцев назад
@@BoualiAli i just want to share this thing with you sir. i am creating an Instagram's clone in vue.js as front end spring-boot as backend and i was stuck around building chat function.Your previous video was very help-full but this one is soo amazing i never worked with websocket but your explanation was sufficient for me thank you
@saravanasaro9231
@saravanasaro9231 8 месяцев назад
Sir, I am using a MySQL database. The chat application runs successfully, but it have not create a table in the database.The database connection is correct; I am using the application.properties file.The UI page displays a successful login page, but the input box is not showing. What could be the problem, sir?
@ukemeelijah6336
@ukemeelijah6336 4 месяца назад
I am having similar issue, though mine created the table successfully but when I tried to send a message to another user, the thing returns back to the login page with this error that says websocket.chat.entities.room.ChatRoom' must be manually assigned before calling 'persist()'. I don't know how to resolve it. I am using MYSQL also
@TikTokTrendsCompilation
@TikTokTrendsCompilation 10 месяцев назад
Why not use kafka for chatting.... A perfect example for a real world project to teach kafka better and you waste this chance
@BoualiAli
@BoualiAli 10 месяцев назад
Kafka is coming next week
@rayoh7201
@rayoh7201 8 месяцев назад
hello ali I am currently clone coding your chatapp, but my mongodb can't get nickname and real name, and server error 500 shows up, saying Uncaught (in promise) TypeError: connectedUsers.filter is not a function at findAndDisplayConnectedUsers (main.js:50:37) what should I do? and thx for the video
@slai2389
@slai2389 7 месяцев назад
Did you add this one correctly? let connectedUsers = await connectedUsersResponse.json();
@quocdungdo321
@quocdungdo321 8 месяцев назад
is anyone can test these apis with postman ?
@BoualiAli
@BoualiAli 5 месяцев назад
yes, use websocket instead of using HTTP
@atomichub5049
@atomichub5049 6 месяцев назад
Speak Louder + Correct your Pronunciation
@keremkarademir6101
@keremkarademir6101 6 месяцев назад
It was pretty understandable for most of us.
@BoualiAli
@BoualiAli 5 месяцев назад
I providing technical content not english course
Далее
TEAM SPIRIT: НОВЫЙ СОСТАВ. SEASON 24-25
01:31
How Web Sockets work | System Design Interview Basics
5:28
The Home Server I've Been Wanting
18:14
Просмотров 140 тыс.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Front-end web development is changing, quickly
3:43
Просмотров 1,1 млн
The Story of Next.js
12:13
Просмотров 579 тыс.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
TEAM SPIRIT: НОВЫЙ СОСТАВ. SEASON 24-25
01:31