mongoose-one-to-many-relationship-example-feature-image

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-vuex-jwt-authentication-vue-router-feature-image

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

spring-boot-authentication-jwt-spring-security-feature-image

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

mongoose-one-to-one-relationship-example-nodejs-mongodb-feature-image

MongoDB One-to-One relationship tutorial with Mongoose example

Relationship in NoSQL database is not the same as traditional SQL database. That’s why you need to implement basic types of associations (such as One-to-One, One-to-Many, Many-to-Many) yourself. In this tutorial, I will show you 2 ways to make One-to-One Relationships, then we will implement Mongoose One-to-One relationship example in a Nodejs & MongoDB project.

Related Post: MongoDB One-to-Many Relationship tutorial with Mongoose examples

Read More