Build REST APIs with Spring Data REST & Spring Boot
What you'll learn
- Develop REST APIs using Spring Data REST
- Basics of Spring Data JPA
- CRUD Operations with Spring Data REST
- Validations with Spring Data REST
- Pagination & Sorting with Spring Data REST
- Projection & Excerpt with Spring Data REST
- HAL Explorer
- Need to have basic knowledge of Java Programming Language & Apache Maven
- Need to have basic knowledge of Spring Boot & Spring Framework
Do you want to expose your database with REST APIs ? If yes then you can go for Spring Data REST.
In this course you will learn Spring Data REST with Spring Data JPA & MySQL Database. Once you will learn Spring Data REST with Spring Data JPA then you can use Spring Data REST with other databases like MongoDB, Neo4j etc.
In this course, first you will learn basics of Spring Data JPA and then we will jump to Spring Data REST. After that you will learn how to handle SQL relationships while working with Spring Data REST.
In this course you will learn Hypermedia as the Engine of Application State (HATEOAS) principle and we will use Hypertext Application Language (HAL) for the implementation of HATEOAS.
You will learn how to customize JSON response using Jackson Library. Validations are very important while developing REST APIs and this course covers validations with Spring Data REST.
You will learn how to achieve Pagination & Sorting while working with Spring Data REST.
Spring Data JPA provides findBy methods and with that we can develop custom APIs using Spring Data REST.
To provide dynamic JSON response Spring Data REST provides Projection & Excerpt.
With HAL Explorer, you can get UI to call your APIs and it can be considered as REST API documentation.
In this course you will learn
Develop REST APIs with Spring Data REST
Customize JSON Using Jackson Library
Spring Data REST Using SQL Relationships
Validations with Spring Data REST
Pagination & Sorting with Spring Data REST
Custom APIs Using Spring Data REST
Projection & Excerpt with Spring Data REST
Course Topics & Lectures :-
• Introduction To Spring Data REST
What is Spring Data ?
What is Spring Data REST ?
What are HATEOAS and HAL ?
• Basics of Spring Data JPA
What is Spring Data JPA ?
Set Up MySQL Database
Create Spring Boot App
Spring Boot-MySQL Connection With JPA
Create First Entity Class
Create First Repository Using @Repository Annotation -DONE
Get All Records Using JPA
Get Single Record Using JPA
Save Record Using JPA
Update Record Using JPA
Delete Record Using JPA
• Getting Started with Spring Data REST
Overview of Spring Data REST
Create Spring Boot App with Spring Data REST
Spring Data REST In Action
Expose ID Field's Value
Create Record using Spring Data REST
Update Record using Spring Data REST
Partial Update using Http Patch and Spring Data REST
Delete Record using Spring Data REST
Configure API Path & Collection Key
Configure Base Path
• Customize JSON Using Jackson Library
• Spring Data REST Using SQL Relationships
MySQL Database Overview
Configure Spring Boot App
Define SQL Relationships Using Spring Data JPA
Create Record with Reference
Cascade Delete Using Spring Data JPA
Restricting To Expose as REST Resource
• Validations with Spring Data REST
Introduction To Validations
Validator In Action
Validation While Updating Record
• Pagination & Sorting
Introduction To Pagination & Sorting
Pagination In Action
Configure Default Page Size
Sorting In Action
• Custom APIs Using Spring Data REST
Introduction To Custom APIs
REST API Using findBy Field
Find By Multiple Fields
Set Path For Custom API
Pagination with Custom APIs
• Projection & Excerpt In Spring Data REST
Introduction To Projection & Excerpt
Projection In Action
Concat Values Using Projection
More with Projection
Excerpt In Action
• HAL Explorer
Introduction To HAL Explorer
HAL Explorer In Action
Who this course is for:
- Any Java Developer wants to develop REST APIs using Spring Boot & Spring Data REST
I always want to teach new things to students around the world. I believe that the more knowledge we share the more knowledge we gain.
I provide courses on Java, Spring, Spring Boot, Spring Cloud, Spring Batch, Spring Security, REST API, Microservices, Hibernate, Spring Data JPA, RabbitMQ, MongoDB (NoSQL), GraphQL, Pivotal Cloud Foundry, Heroku, Neo4j Graph Database, Spring WebFlux, Reactive Programming, Keycloak.
Having 41,000+ students around the world with reach to 154 countries.
Enrol in the courses and boost your technical skills.
Happy Learning & Happy Coding.