{"id":21835480,"url":"https://github.com/plopezgit/sprint5_t1_springboot_web_app_crud_mysql","last_synced_at":"2026-05-04T15:35:08.940Z","repository":{"id":216532739,"uuid":"736948879","full_name":"plopezgit/Sprint5_T1_SpringBoot_Web_App_CRUD_MySQL","owner":"plopezgit","description":"Build a CRUD Web Application with MySQL persistence.","archived":false,"fork":false,"pushed_at":"2024-01-18T18:27:41.000Z","size":126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T10:07:41.601Z","etag":null,"topics":["bootstrap","crud","html","html-css-javascript","model-mapper","mysql-database","persistent-data-structure","spring-boot","spring-mvc","templates","thymeleaf","webapp"],"latest_commit_sha":null,"homepage":"https://www.thymeleaf.org/","language":"HTML","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/plopezgit.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}},"created_at":"2023-12-29T10:48:59.000Z","updated_at":"2024-01-13T19:48:42.000Z","dependencies_parsed_at":"2024-01-18T19:52:09.633Z","dependency_job_id":null,"html_url":"https://github.com/plopezgit/Sprint5_T1_SpringBoot_Web_App_CRUD_MySQL","commit_stats":null,"previous_names":["plopezgit/sprint5_t1_springboot_web_app_crud_mysql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_Web_App_CRUD_MySQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_Web_App_CRUD_MySQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_Web_App_CRUD_MySQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_Web_App_CRUD_MySQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plopezgit","download_url":"https://codeload.github.com/plopezgit/Sprint5_T1_SpringBoot_Web_App_CRUD_MySQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244811955,"owners_count":20514377,"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":["bootstrap","crud","html","html-css-javascript","model-mapper","mysql-database","persistent-data-structure","spring-boot","spring-mvc","templates","thymeleaf","webapp"],"created_at":"2024-11-27T20:21:19.979Z","updated_at":"2025-10-20T03:43:29.252Z","avatar_url":"https://github.com/plopezgit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sprint5_T1_Spring Boot_Web_App_CRUD_MySQL\n\nWe have an entity called Branch, which has the following properties:\n\n- Integer pk_BranchID\n- String nameBranch\n- String countryBranch\n\nWe also have a DTO called BranchDTO, which will have the same properties as the Branch entity, adding one:\n\n- String typeBranch.\n\nThis property, depending on the country of the branch, must indicate whether it is \"EU\" or \"Non-EU\". To do this, you can have a private list in the same DTO (for example: List\u003cString\u003e countries), with the countries that are part of the EU.\n\nLeveraging the JPA specification, you will need to persist the Branch entity to a MySql database, following the MVC pattern.\n\nThe advice is that you use BranchDTO in the Controller and the View, and Branch in the Repository. The service layer will be in charge of translating between the two.\nFor this, depending on the main package, you will create a package structure, where you will place the classes you need:\n\n- cat.itacademy.barcelonactiva.cognoms.nom.s05.t01.n01.controllers\n- cat.itacademy.barcelonactiva.surnames.nom.s05.t01.n01.model.domain\n- cat.itacademy.barcelonactiva.surnames.nom.s05.t01.n01.model.dto\n- cat.itacademy.barcelonactiva.surnames.nom.s05.t01.n01.model.services\n- cat.itacademy.barcelonactiva.cognoms.nom.s05.t01.n01.model.repository\n\nThe class located in the controllers package (SucursalController, for example), must be able to respond to the following requests to update and consult information:\n\nhttp://localhost:9000/branch/add\nhttp://localhost:9000/branch/update\nhttp://localhost:9000/sucursal/delete/{id}\nhttp://localhost:9000/sucursal/getOne/{id}\nhttp://localhost:9000/branch/getAll\n\nAs you can see, in the application.properties file, you must configure that the port to be used is 9000.\n\nThe view must be developed with Thymeleaf.\n\nIn order to make it more attractive, you can optionally use a CSS library that makes it easier for you, such as bootstrap, tailwind, material, etc.\n\nVery important:\n\nIn addition to the Git link for the solved assignment, you must include at least two links, other than the resources we have provided you with on campus, that have helped you, or could have helped you, in solving the entire assignment or some parts.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint5_t1_springboot_web_app_crud_mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplopezgit%2Fsprint5_t1_springboot_web_app_crud_mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint5_t1_springboot_web_app_crud_mysql/lists"}