MongoDB One-to-Many Relationship tutorial with Mongoose examples

In this tutorial, I will show you one of the most important Relationship in MongoDB that you will use in most database structures: One-to-Many Relationship. You will also know 3 criteria to choose Referencing or Embedding for improve application performance. Then we’re gonna make some MongoDB One-to-Many Relationship examples using Mongoose library.

Related Post: One-to-One relationship tutorial with Mongoose example
Read More


Vue.js JWT Authentication with Vuex and Vue Router

In this tutorial, we’re gonna build a Vue.js with Vuex and Vue Router Application that supports JWT Authentication. I will show you:

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

Let’s explore together.

Related Post:
Spring Boot + Vue.js: Authentication with JWT & Spring Security Example
In-depth Introduction to JWT-JSON Web Token

Read More


Secure Spring Boot App with Spring Security & JWT Authentication

In this tutorial, we’re gonna build a Spring Boot Application that supports JWT Authentication. You’ll know:

  • Appropriate Flow for User Signup & User Login with JWT Authentication
  • Spring Boot Application Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Spring Data JPA to interact with PostgreSQL/MySQL Database

Lots of interesting things ahead, let’s explore together.

More Practice: CRUD GraphQL APIs example with Spring Boot, MySQL & Spring JPA

Read More