Angular 8 + Spring Boot: JWT Authentication with Spring Security example

In this tutorial, I will show you how to build a full stack Angular 8 + Spring Boot JWT Authentication example. The back-end server uses Spring Boot with Spring Security for JWT authentication and Spring Data JPA for interacting with database. The front-end will be built using Angular 8 with HttpInterceptor & Form validation.

Let’s get started.

Related Post: Angular 8 + Spring Boot example: Build a CRUD App

Read More

spring-boot-data-jpa-crud-example-feature-image

Spring Boot, Spring Data JPA – Building Rest CRUD API example

In this tutorial, we’re gonna build a Spring Boot Rest CRUD API example that use Spring Data JPA to interact with MySQL/PostgreSQL database. You’ll know:

  • How to configure Spring Data, JPA, Hibernate to work with Database
  • How to define Data Models and Repository interfaces
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring Data JPA to interact with PostgreSQL/MySQL Database

More Practice:
Spring Boot Rest XML example – Web service with XML Response
Spring Boot + GraphQL + MySQL example
Spring Boot + Vue.js example: Build a CRUD App

Read More

spring-boot-graphql-mysql-crud-apis-feature-image

Spring Boot + GraphQL + MySQL example with Spring JPA & graphql-spring-boot-starter

GraphQL is a query language that offers an alternative model to developing APIs (REST, SOAP or gRPC) with detailed description.

In this tutorial, we’re gonna build a Spring Boot GraphQL example that will expose CRUD APIs to create, read, update and delete objects in MySQL database with the help of graphql-spring-boot-starter and Spring Data JPA.

Related Post: Spring Boot, Spring Data JPA – Building Rest CRUD API example

Read More

Spring Boot, MongoDB: JWT Authentication with Spring Security

This tutorial helps you build a Spring Boot Authentication (Login & Registration) & role-based Authorization example with JWT, Spring Security and Spring Data MongoDB. 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 MongoDB to interact with MongoDB Database

More Practice:
Spring Boot JWT Authentication with Spring Security, Spring Data JPA & MySQL/PostgreSQL
Spring Boot + GraphQL + MongoDB example with Spring Data & graphql-java

Read More

spring-boot-rest-xml-example-feature-image

Spring Boot Rest XML example – Web service with XML Response

In this Spring Boot tutorial, I will show you a Restful Web service example in that Spring REST Controller can receive/consume XML Request Body and return XML Response instead of JSON. We also use Spring Data JPA to interact with database (MySQL/PostgreSQL).

More Practice:
Spring Boot, Spring Data JPA – Building Rest CRUD API example
Spring Boot + GraphQL + MySQL example

Read More

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

Spring Boot Token based Authentication with Spring Security & JWT

In this tutorial, we’re gonna build a Spring Boot Application that supports Token based Authentication with JWT. 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.


– Related Post: Spring Boot, Spring Data JPA – Building Rest CRUD API example
– More Practice:

– Fullstack:

Read More