Vue 3 Authentication with JWT, Vuex, Axios and Vue Router

In this tutorial, we’re gonna build Vue 3 Authentication & Authorization example with JWT, Vuex, Axios, Vue Router and VeeValidate. I will show you:

  • JWT Authentication Flow for User Signup & User Login
  • Project Structure for Vue 3 Authentication with Vuex 4 & Vue Router 4
  • How to define Vuex Authentication module
  • Creating Vue 3 Authentication Components with Vuex Store
  • Reactive Form Validation with VeeValidate 4
  • Vue 3 Components for accessing protected Resources
  • How to add a dynamic Navigation Bar to Vue 3 App

Let’s explore together.

Related Post:
In-depth Introduction to JWT-JSON Web Token
Vue 3 CRUD example with Axios & Vue Router

Spring Boot + Vue.js: Authentication with JWT & Spring Security Example
Node.js Express + Vue.js: JWT Authentication & Authorization example

Read More


Spring Boot Refresh Token with JWT example

In previous post, we’ve known how to build Token based Authentication & Authorization with Spring Security & JWT. This tutorial will continue to make JWT Refresh Token in the Java Spring Boot Application. You can know how to expire the JWT, then renew the Access Token with Refresh Token.

Related Posts:

Deployment: Deploy Spring Boot App on AWS – Elastic Beanstalk

The code in this post bases on previous article that you need to read first:
Spring Boot Token based Authentication with Spring Security & JWT

Read More

Spring Boot, Hibernate, Oracle example: Build CRUD App

In this tutorial, we’re gonna build a Spring Boot and Oracle database connection example that uses Hibernate, Spring Data JPA to make CRUD Operations. You’ll know:

  • How to configure Spring Data, JPA, Hibernate to work with Oracle Database
  • How to define Data Models and Repository interfaces
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring Data JPA to interact with Oracle Database

More Practice:
Spring Boot Rest XML example – Web service with XML Response
Spring Boot Multipart File upload example
Spring Boot Pagination and Sorting example

Exception Handling:
Spring Boot @ControllerAdvice & @ExceptionHandler example
@RestControllerAdvice example in Spring Boot

Testing: Spring Boot Unit Test for JPA Repositiory with @DataJpaTest

Read More