Man this is a great video on reactJs. Thanks for explaining the details of reactJs. I'm a java developer and this is exactly what I needed. I will watch the rest of your react videos
@@Batman_so no i didn't do anything to make my resume stand out but i did integrate React with my Java project to create a Texas Hold'em Websocket poker game.
This video is brilliant and gets to the point quickly. How can I find out more about how to implement authentication in a web socket? Well done to the creator. Honours and congratulations.
Thank you for uploading such a great video which inspired me to debug my own websocket program, your coding really helped me out, and best wishes to you! thx, bro!
If a want to do a thematic chatroom I've to use setApplicationDestinationPrefixes or setUserDestinationPrefix method?? And for SimpMessagingTemplate I should use convertAndSend or the same method that u use at 15:15??
I'm creating a chat application using WebSocket. Text chatting is done, but I want to add an attachment feature. How can I do that using WebSocket(frontEnd: Angular , BackEnd: STS)
How can I send headers during my connection, the socket url that I'm using needs to send auth token in headers, in order to connect successfully, could you help me with this
Hi, I know that this is a year old, but would you know how ot do this in typescript? it seems that there are different versions with ts, and can't find any tutorials anywhere!
Hi. My websocket is being blocked by CORS for some reason. I have disabled it in my spring security when the websocket tries to connect i get a get request at localhost:8080/ws/info?="i forgot whats here" that is block by cors. If in the webosket config i have the allowed orgins to * it says that. If it is localhost 3000 then it just says failed to load resource 403.
The application doesnt work if the frontend is on a server and the backend is deployed locally. It throws an error for an insecure connection. Do you have any suggestions for the same?
This tutorial doesn't have a database part to persist the messages. This error possibly meant you are missing the below properties in the application.properties file spring.datasource.url= spring.datasource.username= spring.datasource.password= spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.jpa.database-platform = org.hibernate.dialect. spring.jpa.generate-ddl= spring.jpa.hibernate.ddl-auto =
Fisrtly thanks a lot 🙏🏻. I have just one questin. How will we ensure security if the url that the client will follow tries to monitor other malicious users? For example, my name is David. I'm listening to "app/david/private". If someone else listens to the same url, will the messages sent to me go to him too?
Thank you, it was really helpfull! I was looking a tutorial like this !! I have a question, how can I display all of the members connected on the chat when the second member connects?
NPX stands for Node Package eXecute. It is a NPM package runner. It allows developers to execute any Javascript Package available on the NPM registry without even installing it. NPX is installed automatically with NPM version 5.2.
I hate tutorial that the one one who explains doesn't show a a result till the end of the tutorial, it's hard to understand why they did something that way
Man this is a great video on reactJs. Thanks for explaining the details of reactJs. I'm a java developer and this is exactly what I needed. I will watch the rest of your react videos
Glad it helped!
hey brother, did you do any personal projects in java that made your resume stand out, just curious
@@Batman_so no i didn't do anything to make my resume stand out but i did integrate React with my Java project to create a Texas Hold'em Websocket poker game.
Omg after 2 years this is the best WebSocket tutorial i've seen ever bro, thank you so much for this video it really helps me a lot. ❤
This video is brilliant and gets to the point quickly. How can I find out more about how to implement authentication in a web socket? Well done to the creator. Honours and congratulations.
Can you make this app store message on the db to make ensure that maybe when the will be disconnected, he can get their own messages easily.
Thank you for uploading such a great video which inspired me to debug my own websocket program, your coding really helped me out, and best wishes to you! thx, bro!
Thanks a lot!
This was exactly what I was searching for!
If a want to do a thematic chatroom I've to use setApplicationDestinationPrefixes or setUserDestinationPrefix method?? And for SimpMessagingTemplate I should use convertAndSend or the same method that u use at 15:15??
Thank you for the video by the way!
you are real king my brother!!!
Your content is really good. My advice is to slow down a bit and explain the steps you take.
Thanks for the tip
It's awsome work you did, i am also happy. Thank you..!
i created servixes and models to persist the data but i keep getting 401 unauthorized when i try to save in my db
Great tutorial, clearly and easy to implement. Thank you so much!
I'm creating a chat application using WebSocket. Text chatting is done, but I want to add an attachment feature. How can I do that using WebSocket(frontEnd: Angular , BackEnd: STS)
Greeting from brazil my friend, great video, thx for sharing such a good content
How can I send headers during my connection, the socket url that I'm using needs to send auth token in headers, in order to connect successfully, could you help me with this
how can i use mysql in this to store the conversation?
Hi, I know that this is a year old, but would you know how ot do this in typescript?
it seems that there are different versions with ts, and can't find any tutorials anywhere!
great msg buddy , helped a lot. One REQUEST can you please increase the font size
It's too clear, thank you for it.
Man. This is a great video. Loved the explanation. Do you have any resources on integrating with a database?
Hello , Great tutorial dude but i had a question , can i used the spring boot backend provided on your github with angular ??
Yes it is possible
Hi. My websocket is being blocked by CORS for some reason. I have disabled it in my spring security when the websocket tries to connect i get a get request at localhost:8080/ws/info?="i forgot whats here" that is block by cors. If in the webosket config i have the allowed orgins to * it says that. If it is localhost 3000 then it just says failed to load resource 403.
I have same
same here
@@farhanmaulidan3306 have you solved it? Thanks in advance
please tell me how you solve this error asap.
The application doesnt work if the frontend is on a server and the backend is deployed locally. It throws an error for an insecure connection. Do you have any suggestions for the same?
You may need to enable CORS.
@@InvolveInInnovation how to enable cors
Nice one bro !
Wow, That's fantastic :) May I know where you learnt this?(I mean the javascript part)
I need help. Im trying to make a chat application where it loads previous messages from a database in addition to this video. How could this be done?
did you find something realted to this
great tutorial ! really helpful
Im getting this error: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
This tutorial doesn't have a database part to persist the messages. This error possibly meant you are missing the below properties in the application.properties file
spring.datasource.url=
spring.datasource.username=
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.database-platform = org.hibernate.dialect.
spring.jpa.generate-ddl=
spring.jpa.hibernate.ddl-auto =
Fisrtly thanks a lot 🙏🏻. I have just one questin. How will we ensure security if the url that the client will follow tries to monitor other malicious users? For example, my name is David. I'm listening to "app/david/private". If someone else listens to the same url, will the messages sent to me go to him too?
in a complex system you won't use usernames you'll have to use their IDs
Thank you very much for this work and effort 👍👍
hi after the connection i can't send message there is no error in the console !
I have the same issue. Did you find out the problem?
Code editor font is too small
I tried the same but didn't display the user name and messages. Can anyone help?
did you figure it out? I have the same problem
@@dragosduma ya, problems in connecting the backend to frontend and also I'm using eclipse.
Good Job
Thank you! Could you please build a video call app with Spring boot?
Thank you, it was really helpfull! I was looking a tutorial like this !! I have a question, how can I display all of the members connected on the chat when the second member connects?
You need to persist the messages in a database and need to load the existing messages when the new user joins in.
worked fine . thank you
Hello friend, it's great, it helps me a lot to learn.
Glad to hear that!
zoom code!
Thank you sir. This helped me a lot
Glad it helped
This video helped me a lot. By the way, can you tell me how to modify the source code to allow 1:1 chat only?
what is npx?
NPX stands for Node Package eXecute. It is a NPM package runner. It allows developers to execute any Javascript Package available on the NPM registry without even installing it. NPX is installed automatically with NPM version 5.2.
great tutorial!
I'm facing with CORS, but here u didn't pass it.
same here,you solve it ? please help me
useful and easy to use thanks a lot
Hey for me it says getReceiverName() is undefined for the type Message, can you tell me if that was the case for you? (also what IDE did you use?)
Thank you sir.
Thanks a lot
I hate tutorial that the one one who explains doesn't show a a result till the end of the tutorial, it's hard to understand why they did something that way
Thanks for the feedback! BTW TH-cam videos have seek bar
Very helpful
@InvolveInInnovation
I have some queries:
Why is payload annotation used and what does it do?
Payload annotation binds a method parameter to the payload of a message.
In this case it binds the incoming json to the Message bean
Man this is a great video . i am college student i need this document for my project reference where i need to refer this document plz help me sir
what is document here? you mean the blog for this video?
Report sir
Sir I need documentation for my project reference sir
Thanks sir
👏👏
👍
very nice tutorial
iam facing CROS problems i used @cross origins used also .setAllowedOrigins still facing the same problem what i can do ?
I AM also facing this error in my project