In this collection, we'll create a full-stack java project from scratch using Spring boot for backend stuff and react for frontend.
Experienced Java full stack developer with 8+ years of experience
In this collection, we'll create a full-stack java project from scratch using Spring boot for backend stuff and react for frontend.
There are many tutorials dealing with topics such as spring boot, react.js, react native, etc. So it's usually a challenge to make a tutorial about these themes. Fortunately, most of these tutorials are chunks of code, which can be a trap for beginners when it comes to joining them. So in this series, we are going to learn how to join pieces of code to make a really beautiful project. We think this will help someone on their developer journey!
In this tutorial, we'll set up the backend. What you'll learn here are:
How to initialize a Spring boot app using the official Spring boot initializer and
How to customize a spring boot app port.
We will learn how to :
Create entity
Create a repository and expose it as REST endpoints without using any other controller component
Create queries
Custom query URL
Custom REST API base path
What we'll cover here :
How to customize Spring security to fetch users from the database
How to implement JWT token management in Spring boot REST API
How to expose a REST POST API /login to generate a JWT token