

However, unlike React, Vue uses templates instead of JSX (a potentially welcome and more immediately accessible option). This means that it is performant and avoids many confusing state relationships that can occur without one-way data binding. Like React, Vue uses a virtual DOM, provides reactive and composable view components, and enforces a strict one-way parent-child relationship when defining properties and state. I learned React first and came to use Vue later. In my experience, Vue.js is a great alternative to React. It’s designed to be incrementally adoptable, and the core library focuses solely on the view layer. Vue is a JavaScript view library, like React and Angular. Do more with Spring Boot, Vue, and Okta.Confirm your Spring Boot and Vue todo app works.Bootstrap a Spring Boot app using Spring Initializr.If you’re more of a visual learner, this tutorial is also available as a screencast. Feel free to skip down to the prerequisites section if you’re already familiar with Vue and Spring Boot. The Quasar framework provides components and layout tools to help build Vue applications quickly with a consistent, high-quality user interface.īefore you dig into the tutorial, I want to quickly introduce the technologies for those that might be unfamiliar. The client will use Vue 3 and the Quasar framework. As you’ll see, the server will leverage Spring Boot’s ability to quickly expose data via a REST API with minimal configuration. The Spring Boot app will include an H2 in-memory database and will use Spring Data JPA to map our todo data model to a database table for persistence. Then, at the end of the tutorial, you will also see how to use Auth0 as the security provider. OAuth 2.0 and OpenID Connect (OIDC) will secure the Spring Boot API and the Vue client, initially by using Okta as the security provider. The Vue frontend client will use the Quasar framework for the presentation. The application will include CRUD abilities, meaning that you can create, read, update, and delete the todo items on the Spring Boot API via the client.

You will use Vue and Spring Boot to build a todo list web application.
