{"id":15154247,"url":"https://github.com/bmike2047/springboot-mongodb-embedded","last_synced_at":"2026-01-19T12:02:09.766Z","repository":{"id":252407693,"uuid":"840315002","full_name":"bmike2047/springboot-mongodb-embedded","owner":"bmike2047","description":"Run Spring Boot mongo tests on an embedded MongoDB instance","archived":false,"fork":false,"pushed_at":"2024-09-23T19:19:18.000Z","size":254,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T09:44:39.911Z","etag":null,"topics":["flapdoodle-embed-mongo","java","jdk17","mongodb","mongodb-database","mongodb-embedded","spring","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/bmike2047.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-08-09T12:34:58.000Z","updated_at":"2025-01-10T11:57:37.000Z","dependencies_parsed_at":"2024-08-09T15:43:53.000Z","dependency_job_id":"ffeb3538-aa86-4fec-9168-c2f923b64a7d","html_url":"https://github.com/bmike2047/springboot-mongodb-embedded","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"ee1977f0191463ddbf70fe3af91a0533d8212db2"},"previous_names":["bmike2047/springboot-mongodb-embedded"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmike2047%2Fspringboot-mongodb-embedded","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmike2047%2Fspringboot-mongodb-embedded/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmike2047%2Fspringboot-mongodb-embedded/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmike2047%2Fspringboot-mongodb-embedded/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmike2047","download_url":"https://codeload.github.com/bmike2047/springboot-mongodb-embedded/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950768,"owners_count":19392666,"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":["flapdoodle-embed-mongo","java","jdk17","mongodb","mongodb-database","mongodb-embedded","spring","spring-boot"],"created_at":"2024-09-26T17:20:23.945Z","updated_at":"2025-10-24T10:30:47.819Z","avatar_url":"https://github.com/bmike2047.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Spring Boot MongoDB embedded \n--\n![](assets/images/logo3.png)\n\n### Description\nThis project is an example of using Spring Boot with MongoDB but more particular testing is done using an embedded MongoDB instance instead of docker. \u003cbr/\u003e\nIt includes a simple data model and repository.\u003cbr/\u003e\nThe embedded MongoDB instance is running on localhost:27017\n### Usage\nRequires JDK 17\u003cbr/\u003e\nTo run the tests use the following gradle task:\u003cbr/\u003e\n```\n./gradlew clean test\n```\n\u003e [!TIP]\n\u003e This embedded-MongoDB test ran on Ubuntu 22.04.4 which support MonogoDB 6.x and up. This is because of libcrypto.so was updated to version 3.x on Ubuntu 22.\u003cbr/\u003e\n\u003e If you require to run MonogoDB 4.x tests you need to run on an older Ubuntu version that has libcrypto.so.1.1 like Ubuntu 18.\n\n\u003e [!TIP]\n\u003e I case you have older JDK version than JDK 17 and you are using IntelliJIDEA as IDE make sure Gradle JVM is set to JDK 17 in:\u003cbr/\u003e\n\u003e File | Settings | Build, Execution, Deployment | Build Tools | Gradle  -\u003e Gradle JVM\n\n### Screenshot\nThis was generated by putting a Thread.sleep() in the middle of the test and using Studio3T as a client to explore the embedded MongoDB instance.\n![](assets/images/screen1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmike2047%2Fspringboot-mongodb-embedded","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmike2047%2Fspringboot-mongodb-embedded","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmike2047%2Fspringboot-mongodb-embedded/lists"}