
Explore building microservice REST APIs with Spring Data REST and Spring Boot, implement paging, sorting, custom finders, projections, and security; test with Postman and view docs via the HAL browser.
Download and install the MySQL community server on Windows, selecting the server component and setting a root password, noting visual C++ prerequisites, port 3306, and password encryption.
Install Postman, launch the app, and use its rest client to test your microservices' api. Learn to send get, post, put, patch requests with headers, json bodies, and basic authentication.
Explore how micro services are small, autonomous, and focused, contrasting them with monolithic apps like hospital management; learn how services expose APIs and communicate via network calls for independent deployment.
Explore how microservices extend SOA to address the monolithic application by splitting it into tiny services, while noting the end-to-end business functionality goal and implementation across vendors.
Learn how rest provides a uniform interface with http methods to create, read, update, and delete resources, and how collection versus item endpoints support multiple data formats via mime types.
Spring data rest simplifies creating restful APIs by exposing CRUD operations on a JPA entity through a repository, with HAL/HATEOAS support, eliminating boilerplate code.
Create an employee table, expose it as a restful web service with Spring Data REST in four steps, configure datasource, and perform CRUD via Postman.
Launch spring tool suite, create a spring boot project named employee-api with rest repositories, jpa, and mysql dependencies, configure pom.xml and application properties to finish a spring data rest project.
Configure the data source by adding spring.datasource properties in application.properties to define the JDBC URL, username, and password for the local MySQL database.
Launch a Spring Data REST application, run on embedded Tomcat at localhost:8080, and explore the employee REST resource with HAL/HATEOAS links and the optional profile meta information.
Complete the crud cycle by deleting the first employee via localhost:8080/employees/1, verify with a 404 on subsequent get, and confirm only the remaining record (id 2) exists.
Mark the abstract entity with id and creation timestamp using JPA annotations, and define event relationships to organizer, participants, and venue with fetch, cascade, and orphan removal settings.
Create repositories for all entities to expose them as RESTful resources and enable CRUD operations via Spring Data REST, including event, organizer, participant, and venue repositories.
Configure the data source to connect to the events database by updating application.properties and mapping the context to the Event Management API.
Test event management API with Postman by creating an organizer and then an event with embedded venue data, using Spring Data REST. Learn to customize link exposure in one step.
Explore paging and sorting in Spring Data REST by extending a paging and sorting repository, and navigate links like first, next, last, with page size, total elements, and total pages.
Enable paging for repository finders by returning a page and accepting a pageable parameter, so Spring Data REST adds paging links and page size control.
The ONLY course that covers Spring Data REST Comprehensively!
---
Sample of the reviews:
Excellent course! This course covers everything you need to know to get started with Spring Data Rest . Using this architecture simplifies the creation of a REST API - Renato Santos
Excellent course. Interesting, practical, hands-on, relevant and engaging. The instructor makes Spring-Data-REST easy to learn and use - Glyn Davies
I am fully satisfied with your lecture.Outstanding.You are simply Awesome - Prasad Palla
---
All source code is available for download
Responsive Instructor - All questions answered within 24 hours
Professional video and audio recordings (check the free previews)
----
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