{"id":21835484,"url":"https://github.com/plopezgit/sprint4_t2_springboot_api_rest_mongodb","last_synced_at":"2025-03-21T14:23:32.122Z","repository":{"id":214615531,"uuid":"736806266","full_name":"plopezgit/Sprint4_T2_SpringBoot_API_REST_MongoDB","owner":"plopezgit","description":"Running an API REST CRUD using MongoDB database","archived":false,"fork":false,"pushed_at":"2024-01-08T11:00:56.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T10:07:41.685Z","etag":null,"topics":["api","api-rest","crud","crud-api","mongodb","mongodb-database","spring-boot"],"latest_commit_sha":null,"homepage":"https://www.mongodb.com/","language":"Java","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-28T23:47:34.000Z","updated_at":"2023-12-29T00:57:35.000Z","dependencies_parsed_at":"2023-12-29T11:46:03.896Z","dependency_job_id":null,"html_url":"https://github.com/plopezgit/Sprint4_T2_SpringBoot_API_REST_MongoDB","commit_stats":null,"previous_names":["plopezgit/sprint4_t2_springboot_api_rest_mongodb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint4_T2_SpringBoot_API_REST_MongoDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint4_T2_SpringBoot_API_REST_MongoDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint4_T2_SpringBoot_API_REST_MongoDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint4_T2_SpringBoot_API_REST_MongoDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plopezgit","download_url":"https://codeload.github.com/plopezgit/Sprint4_T2_SpringBoot_API_REST_MongoDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244811957,"owners_count":20514378,"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":["api","api-rest","crud","crud-api","mongodb","mongodb-database","spring-boot"],"created_at":"2024-11-27T20:21:22.513Z","updated_at":"2025-03-21T14:23:32.080Z","avatar_url":"https://github.com/plopezgit.png","language":"Java","readme":"# Sprint4_T2_Spring Boot_MongoDB\n\nWe have an entity called \"Fruit\", which has the following properties:\n\n- int id\n- String name\n- Int kilograms\n\nTaking advantage of the JPA specification, you will have to persist this entity to an **MongoDB database**, following the MVC pattern. For this, depending on the main Package, you will create a package structure, where you will place the classes you need:\n\ncat.itacademy.barcelonactiva.surnames.name.s04.t02.n01.controllers\ncat.itacademy.barcelonactiva.surnames.name.s04.t02.n01.model.domain\ncat.itacademy.barcelonactiva.surnames.name.s04.t02.n01.model.services\ncat.itacademy.barcelonactiva.surnames.nom.s04.t02.n01.model.repository\n\nThe class located in the controllers package (FruitaController, for example), must be able to respond to the following requests to update and consult information:\n\n- http://localhost:8080/fruit/add\n- http://localhost:8080/fruit/update\n- http://localhost:8080/fruita/delete/{id}\n- http://localhost:8080/fruita/getOne/{id}\n- http://localhost:8080/fruit/getAll\n\n\n\u003eImportant:\nYou will need to consider good API design practices, using correct error codes and responses in case of incorrect invocations. (You can check information about ResponseEntity).\n\n\u003eVery important\nIn addition to the Git link for the solved assignment, you must include at least two different links to the resources we have provided you with on campus, which have helped you, or could have helped you, to solve the entire assignment or some parts\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint4_t2_springboot_api_rest_mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplopezgit%2Fsprint4_t2_springboot_api_rest_mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint4_t2_springboot_api_rest_mongodb/lists"}