Git Product home page Git Product logo

spring-boot-security-jwt-auth-mongodb's Introduction

Article here: Spring Boot, MongoDB: JWT Authentication with Spring Security

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

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

Fix bug

Khi gửi api signin báo lỗi 500 Xem server log thì thấy java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter

Xem guide ở đây

Add dependency để add class

    
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>2.3.0</version>
		</dependency>

spring-boot-security-jwt-auth-mongodb's People

Contributors

hungbkict avatar tienbku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.