Skip to content

Build Spring Boot MongoDB JWT Authentication & Authorization example with Spring Security, Spring Data

Notifications You must be signed in to change notification settings

BerlitzPlatina/spring-boot-security-jwt-auth-mongodb

 
 

Repository files navigation

Spring Boot, Spring Security, MongoDB - JWT Authentication & Authorization example

  • 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 MongoDB to interact with MongoDB Database

User Registration, Login and Authorization process.

spring-boot-mongodb-jwt-authentication-flow

Spring Boot Rest API Architecture with Spring Security

You can have an overview of our Spring Boot Server with the diagram below:

spring-boot-mongodb-jwt-authentication-spring-security-architecture

For more detail, please visit:

Spring Boot, MongoDB: JWT Authentication with Spring Security

Working with Front-end:

Vue

Angular 8 / Angular 10 / Angular 11 / Angular 12 / Angular 13

React / React Redux

More Practice:

Spring Boot with MongoDB CRUD example using Spring Data

Spring Boot MongoDB Pagination & Filter example

Spring Boot + GraphQL + MongoDB example

Fullstack:

Vue.js + Spring Boot + MongoDB example

Angular 8 + Spring Boot + MongoDB example

Angular 10 + Spring Boot + MongoDB example

Angular 11 + Spring Boot + MongoDB example

Angular 12 + Spring Boot + MongoDB example

Angular 13 + Spring Boot + MongoDB example

Angular 14 + Spring Boot + MongoDB example

React + Spring Boot + MongoDB example

Run both Back-end & Front-end in one place:

Integrate Angular with Spring Boot Rest API

Integrate React with Spring Boot Rest API

Integrate Vue with Spring Boot Rest API

Run Spring Boot application

mvn spring-boot:run

About

Build Spring Boot MongoDB JWT Authentication & Authorization example with Spring Security, Spring Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%