Use React and Spring Boot to Build a Simple CRUD App

Опубликовано: 29 Декабрь 2022
на канале: OktaDev
33,129
377

React is one of the most popular JavaScript frameworks, and Spring Boot is wildly popular in the Java ecosystem. This screencast shows you how to use them in the same app and secure it all with Auth0 by Okta.

Blog post: https://developer.okta.com/blog/2022/...
GitHub repo: https://github.com/oktadev/okta-sprin...
Demo script: https://github.com/oktadev/okta-sprin...
Questions: https://devforum.okta.com/t/use-react...

Table of Contents:

00:00 - Hello, developers!
01:20 - Install prerequisites
01:48 - Create an API app with Spring Boot
02:49 - Add a JPA domain model
08:19 - Create a React UI with Create React App
09:59 - Call your Spring Boot API and display the results
11:10 - Build a React GroupList component
13:20 - Add a React GroupEdit component
15:49 - Add Authentication with Auth0
21:35 - Add Authentication with Okta
24:37 - Configure Spring Security for React and user identity
32:06 - Modify React to handle CSRF and be identity-aware
36:10 - Configure Maven to build and package React with Spring Boot
40:51 - Thanks for watching!

#React #SpringBoot #Java
----
Auth0 by Okta is a developer API service that stores user accounts for your web apps, mobile apps, and APIs.
*Sign up for our monthly newsletter! https://a0.to/zeroindex
* Sign up for Auth0 by Okta for free at https://auth0.com/signup
* For more info visit us at https://developer.auth0.com
* Auth0 Blog: https://auth0/blog
* Follow us on Twitter:   / oktadev  
* Follow us on FB:   / oktadevelopers  
* Follow us on LinkedIn:   / oktadev