Skills Expanded

Add JPA Data to an Existing Spring Boot Blog

What you'll learn

In this project, you’ll replace static blog data with JPA Entities and Repositories that connect to an in-memory H2 database as well as add new entity relationships.

Table of contents

Setup
1h
  • 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 Entity and Repository
10m
  • In this module, we'll create the Post Entity and Repository by editing an existing model and repository that has static blog post data.
Create the Category Entity and Repository
10m
  • In this module, we'll create the Category Entity and corresponding JpaRepository.
Display all categories and individual categories
10m
  • In this module, add Controller functionality to display all categories and individual categories.

About the author

Sarah just finished her PhD in Computer Science and in that process found two loves: inventing things and teaching. Working at Pluralsight allows her to do what she loves and work with some amazing people. When she's not teaching she's outside, enjoying the Florida sunshine with her family.

Ready to upskill? Get started