Build Your Own News Reader From Scratch with Spring Boot

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024
  • Today we have another beginner-based web fullstack project - building a news reader with Java Spring Boot, Thymeleaf and a few bits of jQuery!
    News Readers are a popular type of fullstack projects for the beginner / intermediate developer. A news reader commonly works by allowing you to store several URL links to RSS feeds all over the web. RSS is a popular XML based format which is most commonly used for publication syndication.
    In other words, most news, entertainment, gaming, podcasts and blogs all rely on RSS to announce updates of their products and services.
    In this small application, we'll construct two pages: a homepage and a feeds page.
    The home page will attempt to query all the RSS feed urls you have stored in the database, and try to display them sorta legibly.
    Then we have a feeds page which is used to add new Feeds to your list.
    I hope you have a lot of fun with this project, and that it inspires you to pursue your own creative design!
    Grab the source! github.com/wazooinc/spring-bo...
    🔗References:
    - Docker Desktop Client - www.docker.com/
    - Thymeleaf Reference - www.thymeleaf.org/documentati...
    - RSS specification - www.rssboard.org/rss-draft-1
    🔗Grab My Other Products Available:
    - Packaging a JavaScript Frontend in Java Spring Boot
    erikyuzwa.gumroad.com/l/ospolt
    - Build Your First Web Service with Java Spring Boot
    erikyuzwa.gumroad.com/l/olosgx
    👋🏻Connect with me:
    Twitter: / eyuzwa
    ===---=== Chapters ===---===
    00:00 - Introduction
    00:18 - News Reader Demo
    01:25 - Start.spring.io setup
    02:28 - Updating compose.yaml for Docker
    08:38 - Inspecting the Docker containers
    09:03 - Testing phpMyAdmin
    09:34 - Updating the application.properties
    10:08 - Creating the FeedItem Model
    11:43 - Creating the FeedItemRepository interface
    12:21 - Creating the FeedItemService service
    15:10 - Creating the FeedItemController rest controller
    17:42 - HomeController controller for our default page
    19:50 - First iteration of index.html
    20:51 - Adding Bootstrap and JQuery webjars
    24:31 - Adding controller support for the feeds page
    25:44 - Updating the feeds.html with input form
    30:23 - Submitting HTML forms to a FormController
    32:51 - Fetching RSS feeds with jQuery
    39:43 - Wrapping up
    #springboot #docker #thymeleaf
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 5

  • @prashlovessamosa
    @prashlovessamosa 3 หลายเดือนก่อน +1

    Great thanks

    • @wazoowebbytes
      @wazoowebbytes  3 หลายเดือนก่อน

      you're so welcome - happy it helped and thanks for stopping by!

  • @wazoowebbytes
    @wazoowebbytes  ปีที่แล้ว +1

    Another beginner focused project - hopefully helping you with some tips and experience to grow! 👍

  • @terryvanker2643
    @terryvanker2643 ปีที่แล้ว +2

    Kinda hard to see the code at times, but a great guide otherwise !

    • @wazoowebbytes
      @wazoowebbytes  ปีที่แล้ว

      Thank you so much! Yeah -- need to always be mindful of editor settings