Spring Boot MicroServices Course: Catalog Service Walking Skeleton Setup

Sdílet
Vložit
  • čas přidán 15. 07. 2024
  • #sivalabs #java #spring #springboot #springcloud #microservices #restapi #rabbitmq #testing #junit #junit5 #maven #testcontainers #docker #kubernetes
    In this video, we will go through:
    ► Creating catalog-service using Spring Initializr
    ► Configuring Automatic Code Formatting using spotless-maven-plugin
    ► Created Docker Compose file for Local Development
    ► Setup GitHub Actions Pipeline for automated builds
    ► Created Taskfile for automating various task execution
    ❤️ Thanks for watching
    References
    =============================================
    ⭐ Source Code: github.com/sivaprasadreddy/sp...
    ⭐ SDKMAN Tutorial • Working with Multiple ...
    ⭐ Spring Boot 3.1.0 support for Testcontainers Service Connections and Local Development • Spring Boot 3.1.0 supp...
    ⭐ Taskfile : taskfile.dev/
    Connect with Me
    =============================================
    Blog: www.sivalabs.in
    CZcams: / sivalabs
    Twitter: / sivalabs
    GitHub: github.com/sivaprasadreddy
    LinkedIn: / ksivaprasadreddy
    Must Watch Videos
    =============================================
    🚀 🎬 Spring Boot REST API Anti-Patterns and Best Practices • Spring Boot REST API A...
    🚀 🎬 Modern Spring Boot Application Development using Java 17/21 and Testcontainers • Modern Spring Boot App...
    🚀 🎬 How do I upskill myself, and what tools & techniques do I use? • How do I upskill mysel...
    🚀 🎬 Top 5 Tips to Succeed in Technical Interviews • Top 5 Tips to succeed ...
    Popular Series Playlists
    =============================================
    🚀 🎬 Spring Boot Tips Series Playlist • Spring Boot Tips
    🚀 🎬 Spring Boot + Kubernetes Tutorial Series Playlist • Spring Boot + Kubernet...
    🚀 🎬 Spring Boot - The Missing Guide Series Playlist • Spring Boot - The Miss...
    🚀 🎬 Integration Testing with Testcontainers • Integration Testing wi...
    🚀 🎬 Java Testing Made Easy Playlist • Java Testing Made Easy...
    ⭐ Tags ⭐
    best spring tutorials, best spring boot tutorials, how to learn spring boot, mastering spring boot, complete java testing course, java testing best practices, how to build spring boot rest API, spring cloud tutorials, spring boot docker tutorial, spring boot kubernetes tutorial, how to become proficient in java, how to learn spring boot quickly, how to learn spring boot in-depth
  • Věda a technologie

Komentáře • 36

  • @bwest-dev6241
    @bwest-dev6241 Před měsícem

    thanks for the great content

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

    This video has wealth of information. I feel this series is going to be very useful for both senior and junior developers and will be a great guide for best practices to be followed when developing application. Planning to use the tools you shared in my future projects. Thank you!

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

    This is a superbly informative tutorial. Cheers to all your efforts.

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

    Great content, Siva! Thank you so much

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

    Great video. Learnt some new things. Looking forward to the next one.

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

    Great series, Love it, I'll definitely follow your this series

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

    This is pure gold

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

    Much awaited series sir.

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

    Superb video Siva! Learnt many new things! Thank you

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

    Fantastic video ❤ You explained everything in such a way that I can follow it step by step.

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

    Cool video! I was wondering how would you approach the versioning of services? Is there an automated way to increment the version in pom.xml? Something similar to semantic-release in node.js.

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

      AFAIK, there is no automated way to handle API version upgrade.
      The usual approaches are using version number in the url, or as a header or using custom Accept header.
      Mostly I used the approach of using version number in the url.
      We can configure the common prefeix such as/api/v1 in the application.properties file.

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

      @@sivalabs Sorry, I didn't explain correctly. I mean 0.0.1-SNAPSHOT type of version of the app itself.

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

      You can follow the approach described in this article to increment the version
      www.codecentric.de/wissens-hub/blog/increment-versions-maven-build-helper-versions-plugin

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

    Another question similar to incrementing the version. How would you approach generating a changelog for each service? In a project we use semantic-release, but it requires node.js as an extra dependency in our gitlab pipeline.

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

      I haven't done this myself but I see people using some GitHub Actions feature to generate the changelog upon releasing a new version. I don't know how to do it in gitlab. I guess something similar might exist for GitLab as well because this is a common requirement for libraries release process.

  • @bwest-dev6241
    @bwest-dev6241 Před měsícem

    Out of curiosity do you have an articles or planned tutorials on developing to hexagonal architecture. or attempting to do this using that architecture

    • @sivalabs
      @sivalabs  Před měsícem +1

      I have plans to make video on Hex Arch. Stay tuned.

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

    Great course! I get the following error in my Github Action: ./mvnw: Permission denied. I had to solve this by setting the permission right in my Github action.
    - name: Set execute permission for mvnw
    run: chmod +x ./mvnw

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

      Added this step in the pipeline definitions. Thanks for letting me know.

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

    You seems to use a lot of IntelliJ plugins. Could you pls share the names?

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

    I performed the steps mentioned till loading the catalog-service. While explaining testContainer, you executed the 'docker ps' command before executing the testcontainer class. The output shows there is already a running portanier. However, I don't see any output when I execute the docker ps command.
    How can we load the portainer container running on docker?
    Could you please explain how you created the portainer and connected it to the project?

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

      Portainer is a utility that I am using to manage Docker container via GUI, it is not required for this project.
      But if you are interested to explore Portainer, I have made a video on how to use Portainer czcams.com/video/mxj5LMpE7WQ/video.html

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

    Not able to open all the videos, Its private??

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

    Whats the artifact that you are using to generate the initial maven structure ?

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

      The root Maven project is created from Intellij IDEA and catalog service is created from start.spring.io and copied the downloaded code into root project.

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

    May I know how to install portainer tool in local?

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

      Here is a detailed video of how to install and use Portainer
      czcams.com/video/mxj5LMpE7WQ/video.htmlsi=u85S6PxbWnYVeSRw

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

    What is the pre requisite for these course and for whom these course is helpfull ?

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

      This course is designed for Java developers with basic Spring Boot knowledge who are interested to learn building Microservices. Also, basic knowledge of Docker and Docker Compose is required

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

    How did you generate starter code?

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

      The catalog-service project is created using start.spring.io and is explained at 9:32 in this video.

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

      Thanks for the reply