Implement a web CRUD with MongoDB and Java in one line of code
Channel: vaadinofficial
Date: 2020-10-07

Learn how to implement a CRUD (Create, Read, Update, and Delete) web view connected to MongoDB using Java, Spring Boot, and Vaadin. The video shows how to use a Vaadin add-on to implement the CRUD view using only one line of code.

0:00 - Intro
0:33 - Creating a new project with the Spring Initializr
1:50 - Implementing the domain class
3:44 - Implementing the repository class
4:44 - Implementing the service class
7:45 - Implementing the view
11:24 - Connecting the view to the service class
15:30 - Trying the final app
17:37 - If you are not using Spring Boot

Links:
Follow Alejandro on Twitter: https://twitter.com/alejandro_du
Spring Initializr: https://start.spring.io
Generate Vaadin applications: https://start.vaadin.com
Crud-ui Add-on: https://vaadin.com/directory/component/crud-ui-add-on
Source code: https://github.com/alejandro-du/mongodb-vaadin-demo