{"id":21662851,"url":"https://github.com/urunov/springboot-thymeleaf-frontbackend-projects","last_synced_at":"2025-05-08T01:16:22.279Z","repository":{"id":122920374,"uuid":"272666215","full_name":"Urunov/SpringBoot-Thymeleaf-FrontBackend-Projects","owner":"Urunov","description":"Spring Boot and Thymeleaf Project ","archived":false,"fork":false,"pushed_at":"2020-06-26T10:22:20.000Z","size":10155,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T01:16:15.844Z","etag":null,"topics":["hibernate-orm","jpa","spring-boot","springboot-thymeleaf","sql","thymeleaf"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Urunov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-16T09:29:05.000Z","updated_at":"2023-06-25T14:45:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"205dc6e4-d3b8-49f0-824c-8b6a9cbb94f9","html_url":"https://github.com/Urunov/SpringBoot-Thymeleaf-FrontBackend-Projects","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urunov%2FSpringBoot-Thymeleaf-FrontBackend-Projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urunov%2FSpringBoot-Thymeleaf-FrontBackend-Projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urunov%2FSpringBoot-Thymeleaf-FrontBackend-Projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urunov%2FSpringBoot-Thymeleaf-FrontBackend-Projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Urunov","download_url":"https://codeload.github.com/Urunov/SpringBoot-Thymeleaf-FrontBackend-Projects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252978811,"owners_count":21834920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hibernate-orm","jpa","spring-boot","springboot-thymeleaf","sql","thymeleaf"],"created_at":"2024-11-25T10:18:22.025Z","updated_at":"2025-05-08T01:16:22.258Z","avatar_url":"https://github.com/Urunov.png","language":"JavaScript","readme":"  # SpringBoot-Thymeleaf-Projects\n  \n\n![spring_boott](https://user-images.githubusercontent.com/11626327/84758528-88cf5880-b000-11ea-9585-20cacad8bc97.png)\n  --------------------------------------------\n   ## Project1- SpringBoot-Thymeleaf-Book-Project-Mapping-NoDB\n  \n   * We'll start by showing how to display elements of a List in a Thymeleaf page and\nhow to bind a list of objects as user's inputs in a Thymeleaf form.\n   * Here, we've added List of Book objects as a model attribute sent to the view, where we'll display it using an HTML table:\n               \u003ctable\u003e\n                \u003cthead\u003e\n                    \u003ctr\u003e\n                        \u003cth\u003e Title \u003c/th\u003e\n                        \u003cth\u003e Author \u003c/th\u003e\n                    \u003c/tr\u003e\n                \u003c/thead\u003e\n                \u003ctbody\u003e\n                \u003ctr th:if=\"${books.empty}\"\u003e\n                        \u003ctd colspan=\"2\"\u003e No Books Available \u003c/td\u003e\n                    \u003c/tr\u003e\n                    \u003ctr th:each=\"book : ${books}\"\u003e\n                        \u003ctd\u003e\u003cspan th:text=\"${book.title}\"\u003e Title \u003c/span\u003e\u003c/td\u003e\n                        \u003ctd\u003e\u003cspan th:text=\"${book.author}\"\u003e Author \u003c/span\u003e\u003c/td\u003e\n                    \u003c/tr\u003e\n                \u003c/tbody\u003e\n            \u003c/table\u003e\n     \n     ![AddBook](https://user-images.githubusercontent.com/11626327/84759059-33e01200-b001-11ea-81a2-3bfe4ad81b3c.JPG)\n\n#\n\n## Project2-SpringBoot-Thymeleaf-Hibernate-Planet-Project\n\n   * Working with Enums in Thymeleaf\n   * Planet Project \n   Let's start by adding the Spring Boot starter for Thymeleaf to our pom.xml file:\n \n      \u003cdependency\u003e\n         \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n         \u003cartifactId\u003espring-boot-starter-thymeleaf\u003c/artifactId\u003e\n         \u003cversionId\u003eRELEASE\u003c/versionId\u003e\n      \u003c/dependency\u003e\n* We're going to be working with widgets that have a few choices of color, so let's define our Color enum:\n\n       public enum Solor {\n         MERCURY, VENUS, EARTH, MARS, JUPITER, SATURN, URANUS, NEPTUNE\n       }\n* Now, let's create our Widget class:\n\n       public class Planet {\n         private String name;\n         private Solar solar;\n \n        // Standard getters/setters\n       }\n\n\n\n\nReference Materials\n1. https://www.baeldung.com/thymeleaf-list      \n2. https://frontbackend.com/thymeleaf/thymeleaf-tutorial   \n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furunov%2Fspringboot-thymeleaf-frontbackend-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furunov%2Fspringboot-thymeleaf-frontbackend-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furunov%2Fspringboot-thymeleaf-frontbackend-projects/lists"}