Microservices Rest Apis Using Spring Data Rest

Build an end to end REST API Project in easy steps

Last updated 2022-01-10 | 4.6

- 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

What you'll 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 Application
Secure your REST APIS using Authentication as well as authorization
All in simple steps
Use Projections and Excepts to limit the data that is returned
Validate the data

* Requirements

* Knowledge of Spring Framework and Spring Boot
* Knowledge of Spring Data helps but not required
* Or Should have completed my Spring Framework in easy steps course

Description

  • 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
  • Use Projections and Excepts to limit the data that is returned
  • Validate the data

Course content

15 sections • 117 lectures

Course and Instructor Introduction Preview 02:38

How to make the best of this course Preview 02:43

Install Java Preview 01:27

Install Spring Tool Suite Preview 01:34

Configure JDK in STS Preview 01:29

Install MySql and MYSql workbench Preview 03:14

Using MySQL Workbench Preview 01:43

Windows Only -Install Mysql Preview 04:49

Windows Only - Install Mysql Workbench Preview 02:58

Install Postman Preview 01:27

Download the completed projects Preview 00:33

Download Assignment Solutions Preview 00:40

Troubleshooting Maven Projects Preview 01:25

Using Latest Versions Preview 02:29

What are Micro Services? Preview 04:12

Why Micro Services? Preview 04:40

SOA and Microservices Preview 01:34

What is REST? Preview 06:19

What are HATEOAS and HAL? Preview 02:49

Why REST for Micro Services Preview 03:00

What is Spring Data REST? Preview 03:48

Quiz

Introduction Preview 00:40

Create the Employee Table Preview 01:15

Create a Spring Data REST Project Preview 03:56

Spring Boot 2.x API Changes Preview 02:46

Create the Employee Entity Preview 02:46

Auto Generate the ID Preview 00:59

Create The Employee Repostiory Preview 01:30

Define the data source Preview 02:17

Launch the application Preview 02:34

Create an Employee Resource using POST Preview 03:33

Update the Employee Resource using PUT Preview 01:54

Partial update using Patch Preview 01:51

Delete the Employee Preview 01:27

Exposing the ID field Preview 02:16

Configure a custom context path Preview 02:59

Using Spring Boot 2.X Preview 03:23

Quiz

Implement a department-api

Implement a department-api

The Event Management Usecase Preview 02:14

The ER diagram Preview 02:44

Create the Database Schema Preview 05:12

Create the project Preview 02:06

Download or Create Entities Preview 02:41

Start creating the Entities Preview 05:16

Create Venue Organizer and Participant Preview 04:03

Define the associations Preview 02:29

Annotate AbstractEntity and Event Preview 07:00

Annotate the Venue Organizer and Participant Preview 03:36

Implement the equals and hashCode methods Preview 02:51

Fix the Entities Preview 01:39

Create the Repositories Preview 02:24

Define the Data Source Preview 01:09

Configure java.time.* Support Preview 05:20

Launch the application Preview 00:52

Create the Organizer and Event Resources Preview 06:23

Customize Spring Data Rest Associations Preview 02:27

Create a Participant Preview 02:32

Update Event Details Preview 02:31

Delete an Event and its associations Preview 01:31

Expose the ID of the resources Preview 02:39

Introduction Preview 02:15

Enable Paging and Sorting Preview 01:33

Paging in action Preview 06:35

Configure default page size Preview 01:31

Sorting Preview 02:33

Quiz

Paging and Sorting Assignment

Paging and Sorting Assignment

Customizing JSON Output Preview 03:04

Using JSONIgnore and JSONProperty Preview 02:29

Quiz

JSON Serialization Assignment

JSON Serialization Assignment

Introduction Preview 01:57

Add a findBy Method Preview 06:16

Add paging support to finders Preview 03:19

Find By Multiple Parameters Preview 04:23

Quiz

Custom Finder Methods Assignment

Custom Finder Methods Assignment

Introduction Preview 01:59

Steps to create controller methods Preview 01:19

Create the EventKickOffController class Preview 01:58

Create the start method Preview 01:56

Implement the start method Preview 03:10

Test Event Kick Off Preview 02:05

Create a CheckIn Controller Preview 02:46

Implement the checkin Logic Preview 03:06

Return a HAL Response using the Entity Preview 01:56

Check In a participant in to an event Preview 02:41

Custom Controller Methods Assignment

Custom Controller Methods Assignment

Introduction Preview 02:26

Create a partial Projection Preview 03:11

Test the partial projection Preview 01:35

Expose hidden data Preview 01:34

Virtual projections Preview 02:42

Test the virtual projection Preview 01:18

Excerpts in action Preview 02:46

Quiz

Projections Assignment

Projections Assignment

Introduction Preview 00:47

Configure HAL Browser Support Preview 02:50

Navigating through the API Preview 02:47

Perform a POST Preview 02:24

Introduction Preview 02:35

Steps to Secure the Application Preview 01:42

Add the Maven Dependency Preview 01:04

Create the Configuration Class Preview 01:38

Create Users and Roles Preview 02:06

Configuring Authentication and Authorization Preview 03:49

Disable CSRF Preview 01:06

Password Encoding In Latest Versions Preview 01:12

Security in action Preview 02:38

Configure method level security Preview 05:33

Quiz

Final Quiz

test

test

Bonus Lecture Preview 00:56