Spring Boot MicroServices Course: Building BookStore WebApp using Thymeleaf and Alpine.js

Sdílet
Vložit
  • čas přidán 29. 04. 2024
  • Join this channel to get access to the perks:
    / @sivalabs
    #sivalabs #java #spring #springboot #springcloud #microservices #restapi #rabbitmq #testing #junit #junit5 #maven #testcontainers #docker #kubernetes
    In this video, you will learn:
    ► How to build web app using Thymeleaf
    ► How to consume REST APIs and render UI using Alpine.js
    ► How to consume REST APIs using Declarative HTTP Interfaces
    ❤️ Thanks for watching
    References
    =============================================
    ⭐ Source Code: github.com/sivaprasadreddy/sp...
    ⭐ Spring Boot Tutorials: www.sivalabs.in/spring-boot-t...
    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 • 8

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

    Thanks for the video! I didn't know how useful HTTP Interface based clients are, removes so much boilerplate. And I enjoyed a lot alpinejs, which is so handy to avoid full blown SPA app, but also helps with either vanilla js or jquery based mess.

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

    Sir can u please use angular or nextjs in next project it really helps... The industry wants that... Your videos are top notch 100

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

    There was an 6 hour outage for cdn jsdelivr recently, which affected one of our projects. Now I'm more cautious of assets that I can't control :)

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

    can you develop the same frontend in reactjs or pure html css js? thanks

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

    Nice content! Since I am not a frontend dev, I have a question that I am not sure if is relevant or not: using Thymeleaf and Alpinejs, we now have two ways to set attributes dynamically, e.g. `:href` for Alpine and `th:href` for Thymeleaf. Are there any problems that can arise by mixing them? For example, in the pagination fragment one link is created using `th:href` while the others are created using `:href`. Are there any situations where the generated links could be different?

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

      Thymeleaf rendering happens first on server-side. Then on client-side(in browser) AlpineJS will trigger its processing.
      In this case, we don't even need to use th:href for that link because it is a static value ("/products?page=1").
      So, I have updated it to simply use href="/products?page=1".
      For other links, we are using AlpineJS binding (:href) to use the dynamic values.

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

    Hi Shiva, is it possible to configure time out as well for the Http interfaces?

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

      Updated the code to set timeouts. See github.com/sivaprasadreddy/spring-boot-microservices-course/blob/main/bookstore-webapp/src/main/java/com/sivalabs/bookstore/webapp/clients/ClientsConfig.java