Skip to content

bezkoder/spring-boot-login-mongodb

Repository files navigation

Spring Boot Login and Registration example with MongoDB

Build a Spring Boot Auth with HttpOnly Cookie, JWT, Spring Security and Spring Data MongoDB. You'll know:

  • Appropriate Flow for User Login and Registration with JWT
  • Spring Boot Rest API Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for User Login and Registration
  • Way to get and generate Cookies for Token
  • Way to use Spring Data MongoDB to interact with MongoDB Database

User Registration, Login and Authorization process.

spring-boot-mongodb-login-example-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-login-example-architecture

For more detail, please visit:

Spring Boot Login and Registration example with MongoDB

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 

............................................................................................................................................. Run this code in a local environment and make sure everything runs properly. ok let me make sure everything runs well. Follow the links for more in depth idea on each and every concepts.

I know how everything works.

Releases

No releases published

Packages

No packages published

Languages