Description
In this course, you will :
-
Build and run RESTful Microservices
-
Implement User Authentication
-
Eureka Discovery Service
-
Implement User Authorization with Spring Security and JWT
-
Spring Cloud API Gateway
-
Learn to use JPA to persist data into a Database
-
Cloud Cloud Config Server
-
Learn to install MySQL Server and persist data into MySQL
-
Spring Cloud Bus and Rabbit MQ
-
H2 in-memory database and H2 Console
-
Spring Boot Actuator
-
Learn to use HTTP Postman
-
Use Spring Security
-
Learn to use Spring Initializer
-
Distributed Tracing with Sleuth and Zipkin
-
Learn to use Spring Tool Suite
-
Centralized Logging with ELK Stack(Logstash, Elasticsearch, Kibana)
-
Run Microservices in Docker Containers
Syllabus :
1. Introduction
- What is a Microservice?
- Sample Microservices Architecture
- Download and Install Postman HTTP Client
- Postman Overview
- Resource and Collection URIs
- HTTP Methods: GET, POST, DELETE and PUT
- HTTP Headers: Accept and Content Type
2. Setting up Development Environment
- Install Java Platform(JDK)
- Download and Install Spring Tool Suite(STS)
3. Building RESTful Web Services - A Quick Start
- Creating a New Project
- Creating a new Spring project using Spring Boot Initializr
- Create Users Rest Controller class
- Adding Methods to Handle POST, GET, PUT, DELETE HTTP requests
- Running Web Service Application
- Reading Path Variables with @PathVariable annotaion
- Reading Query String Request Parameters
- Making Parameters Optional or Required
- Returning Java Object as Return Value
- Returning Object as JSON or XML Representation
- Set Response Status Code
- Reading HTTP POST Request Body. The @RequestBody annotation.
- Validating HTTP POST Request Body
- Store Users Temporary
- Handle HTTP PUT Request
- Handle HTTP Delete Request
- Handle an Exception
- Return Custom Error Message Object
- Handle a Specific Exception
- Throw and Handle You Own Custom Exception
- Catch More Than One Exception with One Method
- Dependency Injection: Create and Autowire a Service Layer Class
- Constructor Based Dependency Injection
- Run Web Service as a Standalone Application
4. Eureka Discovery Service - A Quick Start
- Introduction to Eureka Discovery Service
- Startup Eureka Service Discovery
- Troubleshooting
5. Users Microservice - A Quick Start
- Introduction to Building a Users Microservice
- Users Microservice - Create new Spring Boot Project
- Enable Spring Discovery Cloud Client
- Create Users Rest Controller
- Access Users Web Service Endpoint via Eureka Discovery Service
6. Account Management Microservice - A Quick Start
- Introduction to Building an Account Management Microservice
- Password Reset - Create a new Spring Boot Project
- Access Account Management Microservice via Eureka Discovery Service
7. Zuul API Gateway - A Quick Start
- Introduction to Zuul API Gateway
- Create a ZUUL API Gateway Project
- Access Microservices via API Gateway
8. Zuul as a Load Balancer - A Quick Start
- Load Balancer - Introduction
- Starting Up More Microservices
- Trying How Load Balancer Works
9. Spring Cloud API Gateway
- Creating API Gateway Project
- Automatic Mapping of Gateway Routes
- Manually Configuring API Gateway Routes
- Trying how it works
- Rewriting URL Path
- Automatic & Manual Routing
- Build-In Predicate Factories
- Gateway Filters
10. Spring Cloud API Gateway as a Load Balancer
- Starting Up More Microservices
- Trying How Load Balancer Works