Spring Boot Microservices Tutorial - Part 1 - Building Services

Sdílet
Vložit
  • čas přidán 29. 03. 2024
  • In this Spring Boot 3 Microservices tutorial series, we will learn how to build microservices using Spring Boot and Spring Cloud.
    This is part 1 of the series, in this part, we will cover:
    - The High-Level Architecture of the project
    - The Logical Architecture of the project
    - Building Product Service
    - Writing Integration Tests using Test Containers

Komentáře • 75

  • @ProgrammingTechie
    @ProgrammingTechie  Před 3 měsíci +22

    The tutorial series and the upcoming parts includes some changes below compared to the previous Microservices Series:
    - Spring Boot 3
    - Integration Tests using Latest Testing Techniques
    - Spring Cloud Feign for inter service communication
    - API Gateway implementation using Spring Cloud Gateway MVC instead of Spring Cloud Gateway with Webflux
    - Add Circuit Breaker Logic in API Gateway
    - Security using latest Keycloak
    - Distributed Tracing using Grafana Stack instead of Slueth
    - Deployment using Kubernetes
    Link to Written Tutorial: programmingtechie.com/2024/03/28/spring-boot-microservices-tutorial/

    • @calvinmashishi4932
      @calvinmashishi4932 Před 3 měsíci +2

      Good day,
      Is this the same Microservices course but with Springboot 3?

    • @ProgrammingTechie
      @ProgrammingTechie  Před 3 měsíci

      The tutorial series includes some changes below:
      - Spring Boot 3
      - Integration Tests using Latest Testing Techniques
      - Spring Cloud Feign for inter service communication
      - API Gateway implementation using Spring Cloud Gateway MVC instead of Spring Cloud Gateway with Webflux
      - Add Circuit Breaker Logic in API Gateway
      - Security using latest Keycloak
      - Distributed Tracing using Grafana Stack instead of Slueth
      - Deployment using Kubernetes

    • @mysticfit977
      @mysticfit977 Před 3 měsíci

      how long will it take to post all the courses, Sir?

    • @user-ez6pm6hi8z
      @user-ez6pm6hi8z Před 3 měsíci

      Sir, will the entire tutorial be free

    • @shrutisharma3469
      @shrutisharma3469 Před 3 měsíci

      When part 2 is coming?

  • @defrankline
    @defrankline Před 3 měsíci +21

    Kindly implement oauth2.0 jwt authorization instead of keyclock this time around

  • @nailtagiyev6340
    @nailtagiyev6340 Před 3 měsíci +1

    Cool. Thanks for the course!

  • @shrutisharma3469
    @shrutisharma3469 Před 3 měsíci

    One word::- Wow....such an amazing course.

  • @Yourmothersmuff
    @Yourmothersmuff Před 10 hodinami

    Awesome I was waiting for this.

  • @ruhuseyn
    @ruhuseyn Před 3 měsíci

    I am very excited about this tutorial. Your explanation is awesome. Good luck

  • @raghavanaliassaravananm1546
    @raghavanaliassaravananm1546 Před 3 měsíci

    Lovely. Thank you for the series Sai.

  • @ugveydev
    @ugveydev Před 3 měsíci +1

    Course is very good brother I was learning from the old series also was good but this one is really great I think

  • @hugofernando846
    @hugofernando846 Před 3 měsíci

    Thank you man! Very good explanation! Keep going. :D

  • @NaTa-qn4yv
    @NaTa-qn4yv Před měsícem

    Good. Thanks for the tutorial!

  • @darkdragon5307
    @darkdragon5307 Před 3 měsíci +2

    finally, a new tutorial. I will skip this until full episodes are downloaded, though

  • @Ben-vz6zm
    @Ben-vz6zm Před 19 dny

    exactly what i am looking for!!!

  • @user-ql4nt3te6r
    @user-ql4nt3te6r Před 3 měsíci

    excited for playlist

  • @elizabethr5161
    @elizabethr5161 Před 12 dny

    Awesome Tutorial, Thanks a lot Sai..

  • @BiswajitSamalOdisha
    @BiswajitSamalOdisha Před 3 měsíci

    Thank you

  • @hrsatsangi
    @hrsatsangi Před 3 měsíci +1

    Eagerly waiting for this series thank you Sai for such a great effort
    Love From AGRA ❤❤

    • @shobhitsolanki8717
      @shobhitsolanki8717 Před 3 měsíci

      Can we pls connect, From Agra too. Lets build a project together.

  • @minhhieuo1043
    @minhhieuo1043 Před 3 měsíci

    thanks bro!

  • @karthikr3259
    @karthikr3259 Před měsícem

    Thank you for the videos, Could you please also cover Microservices design patterns and principles

  • @HaniDaddy
    @HaniDaddy Před 3 měsíci

    Wow that's a great tutorial, can you please add frontend frameworks like React or Angular for this series.

  • @rubbish9231
    @rubbish9231 Před 3 měsíci

    Nice

  • @nihadgurbanov1461
    @nihadgurbanov1461 Před dnem

    I have used ModelMapper but it didn't work with record due to the use of Java records for ProductResponseDto. Java records implicitly declare their fields as final and provide a constructor, getters, equals(), hashCode(), and toString() methods automatically. However, records do not have a no-argument constructor, which ModelMapper requires to instantiate the class.

  • @davidontiveros2895
    @davidontiveros2895 Před 3 měsíci +1

    Appreciate all the new content. Question, how is this different from the current playlist you have ? The one you posted a year ago ? Trying to figure out if I should just start with this one or keep watching the old one.

    • @ProgrammingTechie
      @ProgrammingTechie  Před 3 měsíci +1

      This is the more relevant playlist and more detailed, check the pinned comment

    • @davidontiveros2895
      @davidontiveros2895 Před 3 měsíci +1

      @@ProgrammingTechieappreciate it. Didn’t see the comment 🤦🏻‍♂️. Your content is very helpful.

  • @tabrezshaikh7705
    @tabrezshaikh7705 Před 3 měsíci

    Thanks a lot! I was waiting for this. Any idea, by when will all the episodes of this tutorial be released? Also, what is the total watch time of this complete series?

    • @ProgrammingTechie
      @ProgrammingTechie  Před 2 měsíci +1

      Hey, it will take 2 more weeks to release the whole course, I don't know the total watch time, but it will be greater than 6 hours

  • @srikarsharma9628
    @srikarsharma9628 Před 2 měsíci

    can this project be developed on a macbook Air..looking at so many software components that were used ?

  • @prasanthsanjeevi2563
    @prasanthsanjeevi2563 Před 3 měsíci

    @ProgrammingTechie Your training is awesome, why cant you make udemy course?

  • @poornima.dpreethi4546
    @poornima.dpreethi4546 Před 3 měsíci

    Why Eureka is used when client side server zookeeper is present

  • @szymonnizioek3810
    @szymonnizioek3810 Před 3 měsíci

    Very helpful video! I have one question about your model class: why is it anomic (consisting of a setter, getter, such as a value object) instead of being a rich business entity class (which contains some state, behavior, and validations)?

    • @ProgrammingTechie
      @ProgrammingTechie  Před 2 měsíci

      I want to keep this simple :) , in this tutorial, I am mainly concentrating on the surrounding technologies instead of each individual project.

  • @Sebastian-zs8cp
    @Sebastian-zs8cp Před 3 měsíci

    hi, your graphic is wrong 3:50 and special your arrows for sync. comm and unsync. comm. it make me confius. sync. comm = and unsync. comm = ->....can you straighten that out?

  • @user-dp1xb9pl5x
    @user-dp1xb9pl5x Před 3 měsíci

    where can I get the source code of the course

  • @gerardsegismundo8931
    @gerardsegismundo8931 Před 3 měsíci +1

    thank you. can you pls do or add aws to it?

    • @ProgrammingTechie
      @ProgrammingTechie  Před 3 měsíci +3

      I will not be covering this in this series.
      Deploying Kubernetes to AWS EKS is first of all not covered in the free tier.
      You will be charged for the usage of AWS.
      In my paid course I will be covering deployment to cloud with the deployment to GCP.

    • @joelravanely8914
      @joelravanely8914 Před 3 měsíci +1

      regarding the paid course, will there be a frontend? like Angular?@@ProgrammingTechie

  • @anandlshinde
    @anandlshinde Před 2 měsíci

    @PragrammingTechie Thanks for creating this series
    I followed the same steps for docker. same configuration was added in docker-compose file but still I am facing the below error while executing docker compose up -d command. can anyone guide me here to resolve this issue? Thank in advance!
    `version` is obsolete"
    error during connect: this error may indicate that the docker daemon is not running

  • @azamatshauenbekov6319
    @azamatshauenbekov6319 Před 2 měsíci

    how ide authomatic write code? do tutor, please)

  • @youssefzahi3418
    @youssefzahi3418 Před 3 měsíci

    Can you implement oauth2.0 jwt authorization instead of keyclock this time around

    • @ProgrammingTechie
      @ProgrammingTechie  Před 3 měsíci

      Can you explain more about what you mean ? If you want to use OAuth2 then you have to use any authorization server like Keycloak/Auth0/Okta
      You cannot implement OAuth2 without it.
      If you want to just have JWT Authentication and Authorization without using Keycloak, then I have to tell you that's not a standard practice in the real world.
      JWT auth is used only when you are using monolithic apps.

  • @Sebastian-zs8cp
    @Sebastian-zs8cp Před 3 měsíci

    In 8:06 why you don't take the cloud lib and why u use maven not gradle becous it is faster as maven?

    • @ProgrammingTechie
      @ProgrammingTechie  Před 2 měsíci

      I don't know if Maven is faster than Gradle, for me I am more used to Maven, and I see no reason to switch to Gradle.

  • @mohammedabbutalha2793
    @mohammedabbutalha2793 Před 2 měsíci +2

    Hi,
    Am getting AuthenticationFailed for the MongoDB even though I have given the correct entries in the docker-compose.yml and the right connection string in the application.properties. Can you please help me

    • @saujan6289
      @saujan6289 Před 2 měsíci

      I am getting the same error, Can't get over it.

    • @saujan6289
      @saujan6289 Před 2 měsíci +1

      I found the problem in my case, I had local instance of mongodb If you have mongodb installed locally uninstall it.

    • @azamatshauenbekov6319
      @azamatshauenbekov6319 Před 2 měsíci

      @@saujan6289 or change port on 27018*

    • @ritheasenn
      @ritheasenn Před 2 měsíci

      @@saujan6289 so I need to uninstall the mongodb locally one in my computer and using only the mongodb in docker instead ?

    • @anotherOne12342
      @anotherOne12342 Před 2 měsíci

      Had the same issue with an already running instance from the tutorial before. Either stop the old one, or use another port. (Change docker-compose.yml --> port: - "27018:27017" (Host 27018 mapped to 27017 within docker container port))

  • @mustafaadel9703
    @mustafaadel9703 Před 2 měsíci

    Can you explain why did you use mongo with the product service ?

    • @faixan13
      @faixan13 Před 2 měsíci

      because product data is usually unstructured means every product can have different attributes as we dont need rigid schema for that or proper relationships.

  • @nikitapujahari1624
    @nikitapujahari1624 Před 2 měsíci

    HI Sir,
    Is this series is free?? Or we need to take subscription.
    How many upcoming classes are there??

  • @Coolpratik10
    @Coolpratik10 Před 2 měsíci

    Which one should i continue sir ji .. The previous one that you posted a year back "Apr 23, 2022 Spring Boot Microservices Full Course" or this one ? @ProgrammingTechie

  • @alexanderay2585
    @alexanderay2585 Před 3 měsíci

    Hello, will you create frontend for this project? thanks

  • @prashlovessamosa
    @prashlovessamosa Před 3 měsíci

    Sai sir what are the prerequisite to start with this i can build a rest api with Spring Boot but hav no exp with k8s should i learn that first ?

  • @luigiscottorosato2977
    @luigiscottorosato2977 Před 3 měsíci

    What will you use to keep secrets? hashicorp? I think you didn't use it in the other tutorial

  • @sumanta8504
    @sumanta8504 Před 2 měsíci

    Nice video. But the font size is very small, and watching on the laptop is very difficult, please increase the font size in future videos.

    • @ProgrammingTechie
      @ProgrammingTechie  Před 2 měsíci

      I increased the font size in the latest 2 videos, got a new monitor recently that messed up the recording resolution 😔

    • @sumanta8504
      @sumanta8504 Před 2 měsíci +1

      @@ProgrammingTechie I used my big monitor to watch the video and the laptop screen for IntelliJ. Normally, I do it the other way around, but I switched because of the font size. Anyway, it's not a big problem when you have great content :)

  • @Shopme-ty2wv
    @Shopme-ty2wv Před 3 měsíci

    Very good Explanation.
    when the next part be released?

  • @shouryakhujneri5132
    @shouryakhujneri5132 Před měsícem

    Did Anyone face any issues with integration tests ?
    while writing the test case for shouldCreateProduct method,
    it is asking me to typecast it to ResponseAwareMatcher) like this : -
    .body("id", (ResponseAwareMatcher) Matchers.notNullValue())
    .body("name", (ResponseAwareMatcher) Matchers.equalTo("iphone 15"))
    Can someone please help with this ? @ProgrammingTechie