What you'll learn
In this project, you’ll create and customize domain models and repositories for blog posts and their author. Then we'll see how Spring Boot and Spring Data REST automatically export those domain objects to a REST API.
- Set up your local environment for projects.
- Create the Post Repository interface and use it to save data to the database.
- add the relationship between Post and Author and then add Author data to the database.
- add versions to the entities and to the API, then add validation.
Table of contents
Setup
30m
- Set up your local environment for projects. We'll walk you through everything you need to know, including how to install and configure your environment to be able to complete all of the tasks.
Create the Post Repository and Save Data
30m
- Create the Post Repository interface and use it to save data to the database.
Add Author Relationships and Data
30m
- In this module we will add the relationship between Post and Author and then add Author data to the database. We'll also hide different REST resources.
Versioning and Validation
15m
- In this module we'll add versions to the entities and to the api. We'll also add validation.
Course FAQ
What is Spring Boot?
What is Spring Data REST used for?
Who is this Project for?
What will I learn in this Project?