4.49 out of 5
4.49
498 reviews on Udemy

Create REST APIs using Spring Data REST

Build an end to end REST API Project in easy steps
Instructor:
Bharath Thippireddy
3,074 students enrolled
English
Master the concepts of Microservices , REST and Spring Data REST
Create a simple RESTful API using Spring Data REST
Build an end to end RestFul API application from scratch
Test your REST APIs using Postman REST Client
Implement Paging and Sorting support for your REST API
Customize the JSON Responses
Implement Custom search APIs using Spring Data
Implement business logic into your REST Services using custom controllers
Provide different views of the data in your application using projections and excerpts
Enable HAL browser support for Application
Secure your REST APIS using Authentication as well as authorization
All in simple steps

Do you have a lot of data that you’d like to expose via RESTful web services? Are you a java spring developer interested in learning the Springs powerful and easy to use REST framework.Are you an experienced Java web developer who wants to create Microservices RESTful APIs in minutes.Then this course is for you.It is a complete hand’s on course with quizzes and assignments.

Spring is the most widely used framework in the industry today.REST web services have become the number one means for application integration on the web.REST is also the defacto technology for Microservices to communicate. REST defines that a system consists of resources that clients interact with. These resources are implemented in a hypermedia driven way. Spring MVC allows building these kinds of services. But implementing even the simplest of REST web services for a domain model can be quite tedious and result in a lot of boilerplate code every time.

Spring Data REST builds on top of Spring Data repositories and automatically exports those as REST resources. It leverages hypermedia to allow clients to find functionality exposed by the repositories and integrates these resources into related hypermedia based functionality automatically.

The goal of this course is to help you master the concepts of micro services, rest and build an end to end application while exploring the various features of spring data rest.By the time you finish this course, you will have gained the understanding of Microservices, REST, HATEOAS and Spring Data Rest.We’ll look at how you can use Spring Data REST to easily take your data from your data access layer to consumable JSON by a front-end framework.

What Will I Learn?

Master the concepts of Microservices , REST and Spring Data REST

Create a simple RESTful API using Spring Data REST

Build an end to end RestFul API application from scratch

Test your REST APIs using Postman REST Client

Implement Paging and Sorting support for your REST API

Customize the JSON Responses

Implement Custom search APIs using Spring Data

Implement business logic into your REST Services using custom controllers

Provide different views of the data in your application using projections and excerpts

Enable HAL browser support for your Applicatoin

Secure your REST API using Authentication as well as authorization

All in simple and easy steps

Introduction

1
Course and Instructor Introduction
2
How to make the best of this course

Software Setup

1
Install Java
2
Install Spring Tool Suite
3
Configure JDK in STS
4
Install MySql and MYSql workbench
5
Using MySQL Workbench
6
Install Postman
7
Download the completed projects
8
Troubleshooting Maven Projects

Micro Services & REST Concepts

1
What are Micro Services?
2
Why Micro Services?
3
SOA and Microservices
4
What is REST?
5
What are HATEOAS and HAL?
6
Why REST for Micro Services
7
What is Spring Data REST?
8
Quiz

Spring Data REST In Action

1
Introduction
2
Create the Employee Table
3
Create a Spring Data REST Project
4
Create the Employee Entity
5
Auto Generate the ID
6
Create The Employee Repostiory
7
Define the data source
8
Launch the application
9
Create an Employee Resource using POST
10
Update the Employee Resource using PUT
11
Partial update using Patch
12
Delete the Employee
13
Exposing the ID field
14
Configure a custom context path
15
Using Spring Boot 2.X
16
Quiz
17
Implement a department-api

Create a Micro Service REST API

1
The Event Management Usecase
2
The ER diagram
3
Create the Database Schema
4
Create the project
5
Download or Create Entities
6
Start creating the Entities
7
Create Venue Organizer and Participant
8
Define the associations
9
Annotate AbstractEntity and Event
10
Annotate the Venue Organizer and Participant
11
Implement the equals and hashCode methods
12
Fix the Entities
13
Create the Repositories
14
Define the Data Source
15
Configure java.time.* Support
16
Launch the application

Test the REST APIS Using Postman

1
Create the Organizer and Event Resources
2
Customize Spring Data Rest Associations
3
Create a Participant
4
Update Event Details
5
Delete an Event and its associations
6
Expose the ID of the resources

Paging and Sorting

1
Introduction
2
Enable Paging and Sorting
3
Paging in action
4
Configure default page size
5
Sorting
6
Quiz
7
Paging and Sorting Assignment

Customizing JSON Serialization

1
Customizing JSON Output
2
Using JSONIgnore and JSONProperty
3
Quiz
4
JSON Serialization Assignment

Implementing Custom Finder Methods

1
Introduction
2
Add a findBy Method
3
Add paging support to finders
4
Find By Multiple Parameters
5
Quiz
6
Custom Finder Methods Assignment

Create Custom Controller Methods

1
Introduction
2
Steps to create controller methods
3
Create the EventKickOffController class
4
Create the start method
5
Implement the start method
6
Test Event Kick Off
7
Create a CheckIn Controller
8
Implement the checkin Logic
9
Return a HAL Response using the Entity
10
Check In a participant in to an event
11
Custom Controller Methods Assignment

Projections and Excerpts

1
Introduction
2
Create a partial Projection
3
Test the partial projection
4
Expose hidden data
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.5
4.5 out of 5
498 Ratings

Detailed Rating

Stars 5
294
Stars 4
135
Stars 3
48
Stars 2
11
Stars 1
10
3598eda0d44ec4522af3abbdb6abf309
30-Day Money-Back Guarantee

Includes

5 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion