{"id":23066486,"url":"https://github.com/gustavohnsv/springboot-mongodb-client","last_synced_at":"2026-05-03T17:31:42.731Z","repository":{"id":245510131,"uuid":"818450950","full_name":"gustavohnsv/springboot-mongodb-client","owner":"gustavohnsv","description":"Repositório dedicado ao estudo do framework Spring Boot, utilizando Java, Gradle e MongoDB. Contém uma API REST básica de CRUD de clientes e de carrinhos de compra","archived":false,"fork":false,"pushed_at":"2024-07-09T13:33:01.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T09:12:54.562Z","etag":null,"topics":["api-rest","crud-application","gradle","java-17","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/gustavohnsv.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":"2024-06-21T22:20:19.000Z","updated_at":"2024-07-09T13:33:03.000Z","dependencies_parsed_at":"2024-06-22T13:59:13.806Z","dependency_job_id":"a264a33d-f525-409a-a11f-730718c822e7","html_url":"https://github.com/gustavohnsv/springboot-mongodb-client","commit_stats":null,"previous_names":["gustavohnsv/springboot-mongodb-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gustavohnsv/springboot-mongodb-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavohnsv%2Fspringboot-mongodb-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavohnsv%2Fspringboot-mongodb-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavohnsv%2Fspringboot-mongodb-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavohnsv%2Fspringboot-mongodb-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gustavohnsv","download_url":"https://codeload.github.com/gustavohnsv/springboot-mongodb-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavohnsv%2Fspringboot-mongodb-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32578578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["api-rest","crud-application","gradle","java-17","mongodb","spring-boot"],"created_at":"2024-12-16T05:13:25.489Z","updated_at":"2026-05-03T17:31:42.710Z","avatar_url":"https://github.com/gustavohnsv.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌐 CRUD operations with Spring Boot Java Framework\n\n- Link to access the base API url:\n```\n    localhost:8080/api/clients/\n```\n\n- If you want test the application in your localhost, make sure to make a Cluster in mongoDB and follow this steps:\n\n1. Make a `.env` file in root folder *(/clients)*\n\n2. In the file, insert this line:\n```\n    MONGODB_URI=your-mongodb-uri\n```\n\n- Make sure you have a client for HTTP requests, like Insomnia or Postman\n- Make sure you have Java 17 or later\n- This project use Gradle\n\n# ⚙️ Using\n\u003cdiv style=\"display: flex; gap: 20px; align-items: center\"\u003e\n\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/spring/spring-original.svg\" width=\"50\"/\u003e\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/java/java-original.svg\" width=\"50\"/\u003e\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/gradle/gradle-original.svg\" width=\"50\"/\u003e\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/mongodb/mongodb-original.svg\" width=\"50\"/\u003e\n\n\u003c/div\u003e\n\n# 📶 Endpoints\n\n```\n    GET     localhost:8080/api/\n    GET     localhost:8080/api/clients/\n    GET     localhost:8080/api/carts/\n    GET     localhost:8080/api/clients/{id}\n    GET     localhost:8080/api/carts/{cart_id}\n    POST    localhost:8080/api/clients/\n    POST    localhost:8080/api/carts/?id={owner_id}\n    POST    localhost:8080/api/carts/{cartID}/\n    PATCH   localhost:8080/api/clients/?id={id}\n    PUT     localhost:8080/api/carts/{cart_id}/\n    DELETE  localhost:8080/api/clients/?id={id}\n    DELETE  localhost:8080/api/carts/?id={cart_id}\n    DELETE  localhost:8080/api/carts/{cart_id}/\n```\n\n# 🌳 Repository Tree (maybe changed often)\n\n```\n.\n├── build.gradle\n├── gradle\n│   └── wrapper\n│       ├── gradle-wrapper.jar\n│       └── gradle-wrapper.properties\n├── gradlew\n├── gradlew.bat\n├── HELP.md\n├── README.md\n├── settings.gradle\n└── src\n    ├── main\n    │   ├── java\n    │   │   └── com\n    │   │       └── gustavohnsv\n    │   │           └── clients\n    │   │               ├── ClientsApplication.java\n    │   │               ├── config\n    │   │               │   └── DotenvConfig.java\n    │   │               ├── controller\n    │   │               │   ├── ClientController.java\n    │   │               │   ├── HomeController.java\n    │   │               │   └── ShoppingCartsController.java\n    │   │               ├── exception\n    │   │               │   ├── CustomExceptionHandler.java\n    │   │               │   ├── ResourceAlreadyExistsException.java\n    │   │               │   ├── ResourceNotFoundException.java\n    │   │               │   ├── TooFewArgumentsException.java\n    │   │               │   └── WrongArgumentsException.java\n    │   │               ├── model\n    │   │               │   ├── Client.java\n    │   │               │   ├── Message.java\n    │   │               │   ├── ProductInfo.java\n    │   │               │   ├── Product.java\n    │   │               │   └── ShoppingCart.java\n    │   │               └── repository\n    │   │                   ├── ClientRepository.java\n    │   │                   └── ShoppingCartsRepository.java\n    │   └── resources\n    │       ├── application.properties\n    │       ├── static\n    │       └── templates\n    └── test\n        └── java\n            └── com\n                └── gustavohnsv\n                    └── clients\n                        └── ClientsApplicationTests.java\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavohnsv%2Fspringboot-mongodb-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgustavohnsv%2Fspringboot-mongodb-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavohnsv%2Fspringboot-mongodb-client/lists"}