Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Practical SpringBoot Microservices Implementation Mastery
Rating: 4.4 out of 5(60 ratings)
10,266 students

Practical SpringBoot Microservices Implementation Mastery

Learn to implement SpringBoot based Microservices and RESTful API's architecture
Last updated 12/2022
English
English [Auto],

What you'll learn

  • You will learn to create springboot based microservices
  • You will learn microservice concept of discovery service and registry
  • You will learn microservice concept of config server
  • You will learn microservice concept of API gateway
  • You will learn microservice concept of circuit breaker
  • You will learn microservice concept of API authentication with keyclock and Oauth2

Course content

8 sections47 lectures5h 0m total length
  • Course Overview1:44

    Explore a full microservices architecture with Java and Springboard, including service discovery, centralized config with refresh, message brokers like Kafka, and patterns such as API gateway and circuit breaker.

  • Know Your Instructor & Get Help/Support0:13
  • Generating and Setting up of product service2:54

    Generate and set up the product service for a spring boot microservices project, import into IntelliJ, configure Java 11, and verify dependencies for a successful build.

  • Create product entity class with annotation4:32

    Configure the product service to connect to a local MongoDB by setting application properties, then create a product entity annotated as a document with name, image, and price fields.

  • Create product repository1:32

    Create a product repository as a full interface and extend it for more entities. Use a minimal entity to perform database operations with the Modiba database and a primary key.

  • Creating controller and GET and POST endpoints8:12

    Create a product controller in a Spring Boot microservice, exposing GET and POST endpoints via request mappings, managing product entities and status responses.

  • Test GET and POST endpoint with Postman3:53

    Test GET and POST endpoints with Postman on localhost 1818, and verify the database connection while examining products stored as documents in a collection and linked to tables.

  • Generating and Setting up of booking service2:27

    Generate and set up a booking service by configuring dependencies, enabling Spring Data JPA interactions with the database, and verifying a successful startup connection to the database.

Requirements

  • Basics of Java Programming language
  • Basics of SpringBoot

Description

Learn to implement SpringBoot based Microservices and RESTful API's architecture from scratch in a practical step by step approach.

Microservices architecture has many advantages like:

  • Improved productivity

  • Better resiliency

  • Increased scalability

  • Continuous integration/continuous delivery (CI/CD)

  • Optimize business functionality

  • and many more


    We will be implementing many important concepts of microservices architecture like

    • Spring Cloud Config Server

    • Spring Cloud Bus

    • Spring Cloud Netflix Eureka

    • Spring Cloud Circuit Breaker

    • Spring Cloud Sleuth

    • Spring Cloud Gateway

    • Spring Cloud Stream


      We will be creating many springboot projects from scratch  from spring initializer, some of the microservice will be based on mongodb and some will work with mysql database.

Following are the steps we will cover:

1.1-Generating and Setting up of product service

1.2-Create product entity class with annotation

1.3-Create product repository

1.4-Creating controller and GET and POST endpoints

1.5-Test GET and POST endpoint with Postman

2.1-Generating and Setting up of booking service

2.2-Understanding Discovery service and Service registry

2.3-Generating and Setting up Discovery Service

2.4-Registering Product service as client to Discovery service

2.5-Registering Booking service as client to Discovery service

2.6-Understanding config server and centralized configuration

2.7-Create git repo and add properties files

2.8-Generate github token and use in Intellij to push code

2.9-Generating and Setting up of Configuration service

2.10-Configuring config server to fetch different profile based properties from github

2.11-Connecting booking service to config server on dev profile

2.12-Connecting product service to config server on dev profile

2.13-RefreshScope introduction

2.14-Implementing RefreshScope Part-1

2.15-Implementing RefreshScope Part-2

2.16-HarshiCorp vault setup part-1

2.17-HarshiCorp vault setup part-2

2.18-Storing booking service secrets in Vault

2.19-getting vault data in microservice

3.1-Implementing message broker

3.2-Installing RabbiMQ

3.3.0-Using RabbitMQ in microservice

3.3.1-Fixing the vault secret fetching issue

3.4-What is API Gateway

3.5-Setup and Configuration of API gateway

3.6-Testing the API's with API Gateway Part-1

3.7-Testing the API's with API Gateway Part-2

3.8-Installing and setting up Keycloak server

3.9-Configuring keycloak client and user

3.10-Configuring spring security filter in API Gateway to intercept request

3.11-Configure Product Service as Resource Server

3.12-Testing API Gateway and Keycloak security

4.1-Overview of Circuit Breaker Pattern

4.2-Generating the stock project from springboot starter

4.3-Implementing entity repository and controller

4.4-Configuring properties for stock service

4.5-Implementing entity controller repository for booking service

4.6-Implementing Feign client call from booking to stock service


Who this course is for:

  • Anyone who wants to learn and implement the microservices architecture using java and springboot