This guide helps you setup Spring Security with Basic and JWT authentication with a full stack application using React as a frontend framework and Spring Boot as the backend REST API. We will be using JavaScript as the frontend language and Java as the backend language.
You Will Learn
- How to use React as a Frontend Framework
- How to use Spring to create Backend REST Service API
- How to setup Basic Authentication with Spring Boot
- How to use Spring Security with Spring Boot
- How to use JWT Security with Spring Boot
- How to verify Basic Authentication at user login calling a REST API with React
- How to make secured REST API calls from React frontend
- How to use sessionStorage to track tokens in the React frontend application
10-Step Reference Courses
- Spring Framework for Beginners in 10 Steps
- Spring Boot for Beginners in 10 Steps
- Angular in 10 Steps
- React in 10 Steps
- JPA and Hibernate in 10 Steps
- Complete in28Minutes Course Guide
Step 0: Get an Overview of the Full Stack Application
Understanding Basic Features of the Application
The following screenshot shows the application we would like to build: