Spring Boot with Angular - Full Application - Part 7 - Using SockJS to update list of vehicles

Lilium Code
Lilium Code
7.2 هزار بار بازدید - 3 سال پیش - In this tutorial series we
In this tutorial series we take a look on how to create a full web application using Spring Boot for the backend and Angular for the frontend. We will take a look at all important subjects that you might have to come in contact in a real-world application (e.g. connecting to a database, creating and updating entities, searching, and many more).

If you have some topics that you would like to see implemented feel free to leave a comment or drop me an e-mail.

This specific video shows us how we can use stomp updates to update tables, in our case vehicle table. We create all needed configuration for the websocket and define a topic to which we can subscribe. In addition we publish messages and receive them on our frontend.

As you will se using Websocket with Spring boot and Angular is a great way to keep you application up to date without the need to refresh the page.

Source code:
https://github.com/liliumbosniacum/sp...

Npm commands to execute:
npm install sockjs-client
npm install stompjs

Websocket with Spring Boot:
Websocket with Spring Boot

All important links that you might need can be found here:
https://nodejs.org/download/release/v...
https://cli.angular.io/
https://code.visualstudio.com/
https://www.postman.com/

Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/​
Artist: http://audionautix.com/
3 سال پیش در تاریخ 1400/01/22 منتشر شده است.
7,214 بـار بازدید شده
... بیشتر