{"id":19215408,"url":"https://github.com/matrizlab/docker-spring-boot","last_synced_at":"2026-04-16T10:04:19.654Z","repository":{"id":116259168,"uuid":"559628904","full_name":"matrizlab/docker-spring-boot","owner":"matrizlab","description":"Spring Boot - MongoDB - Basic CRUD","archived":false,"fork":false,"pushed_at":"2022-12-06T16:01:01.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T08:30:57.241Z","etag":null,"topics":["docker","docker-image","mongodb","spring-boot"],"latest_commit_sha":null,"homepage":"","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/matrizlab.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":"2022-10-30T17:48:04.000Z","updated_at":"2022-10-31T06:52:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c41aee0-0b1f-4352-9898-2d3fc636ef0d","html_url":"https://github.com/matrizlab/docker-spring-boot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matrizlab/docker-spring-boot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrizlab%2Fdocker-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrizlab%2Fdocker-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrizlab%2Fdocker-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrizlab%2Fdocker-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrizlab","download_url":"https://codeload.github.com/matrizlab/docker-spring-boot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrizlab%2Fdocker-spring-boot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31880884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docker-image","mongodb","spring-boot"],"created_at":"2024-11-09T14:13:37.827Z","updated_at":"2026-04-16T10:04:19.602Z","avatar_url":"https://github.com/matrizlab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Spring Boot MongoDB Basic CRUD\n\n\n### Start\n\nmvn clean install -Dmaven.test.skip\n\ndocker-compose build\n\ndocker-compose up -d\n\n\n\n#### check endpoint\n\n```zsh\ncurl -v http://localhost:8080/api/welcome\n```\n\n### Create\n\n```zsh\n\ncurl -X POST localhost:8080/api/categories -H 'Content-type:application/json' -d '{\"name\": \"Category 1\"}'\n\ncurl -X POST localhost:8080/api/product -H 'Content-type:application/json' -d '{\"name\": \"Product 1\", \"description\": \"Desc 1\", \"price\": \"123.45\", \"categoryId\": \"635f84e60795e14871534960\"}'\n```\n\n### Read\n\n```zsh\ncurl -v localhost:8080/api/categories | json_pp\n\n   {\n      \"id\" : \"635f84e60795e14871534960\",\n      \"name\" : \"Category 1\"\n   },\n   {\n      \"id\" : \"635f85100795e14871534961\",\n      \"name\" : \"Category 2\"\n   },\n   {\n      \"id\" : \"635f85150795e14871534962\",\n      \"name\" : \"Category 3\"\n   }\n\ncurl -v localhost:8090/api/products | json_pp\n\n```\n\n### Update\n\n```zsh\ncurl -X PATCH localhost:8090/api/product/635f871e0795e14871534964 -H 'Content-type:application/json' -d '{\"price\": \"999999.22\"}'\n```\n\n### Delete\n\n```zsh\ncurl -X DELETE localhost:8090/api/product/635f888b0795e14871534968\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrizlab%2Fdocker-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrizlab%2Fdocker-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrizlab%2Fdocker-spring-boot/lists"}