{"id":29961402,"url":"https://github.com/beemi/spring-boot-mongodb-example","last_synced_at":"2026-04-14T23:32:35.843Z","repository":{"id":104275626,"uuid":"481224812","full_name":"beemi/spring-boot-mongodb-example","owner":"beemi","description":"Spring boot service with mongoDB CRUD example","archived":false,"fork":false,"pushed_at":"2026-03-14T11:38:49.000Z","size":1266,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-14T22:29:20.025Z","etag":null,"topics":["crud-application","mongodb","rest-api","spring-boot","swagger","swagger-ui"],"latest_commit_sha":null,"homepage":"https://jaitechltd.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/beemi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-13T13:19:54.000Z","updated_at":"2022-04-13T23:27:00.000Z","dependencies_parsed_at":"2023-12-12T06:22:41.426Z","dependency_job_id":"67132f30-91e5-4a60-8d0b-a3adc9e141df","html_url":"https://github.com/beemi/spring-boot-mongodb-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beemi/spring-boot-mongodb-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beemi%2Fspring-boot-mongodb-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beemi%2Fspring-boot-mongodb-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beemi%2Fspring-boot-mongodb-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beemi%2Fspring-boot-mongodb-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beemi","download_url":"https://codeload.github.com/beemi/spring-boot-mongodb-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beemi%2Fspring-boot-mongodb-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31819718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"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":["crud-application","mongodb","rest-api","spring-boot","swagger","swagger-ui"],"created_at":"2025-08-03T23:10:43.758Z","updated_at":"2026-04-14T23:32:35.822Z","avatar_url":"https://github.com/beemi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-mongodb-example\n[![Docker Image CI](https://github.com/beemi/spring-boot-mongodb-example/actions/workflows/docker-image.yml/badge.svg?branch=main)](https://github.com/beemi/spring-boot-mongodb-example/actions/workflows/docker-image.yml)\n\n\nSpring boot service with mongoDB CRUD example\n\n\n## Description\nThis is a simple example of a Spring boot service with mongoDB CRUD.\n\n## Development\n\nStart MongoDB, Prometheus, Grafana, and the service with the following commands:\n\n```shell\ndocker-compose up -d\n```\n\n![Alt text](docs/img_5.png)\n\nConnect MongoDB using [Compass The GUI for MongoDB](https://www.mongodb.com/products/compass):\n\n![Alt text](docs/img_6.png)\n\nStop the service with the following command:\n\n```shell\ndocker-compose down\n```\n\n## Running MongoDB as a Docker Container\n\nYou can start a MongoDB container using Docker with the following command:\n\n```shell\ndocker run -d -p 27017:27017 --name mongodb mongo\n```\n\n## Gradle build\n\n```shell\ngradle bootRun\n```\n\n## Access actuator\n\nhttp://localhost:8080/actuator\n\nhttp://localhost:8080/actuator/health\n\n## Swagger UI\n\nhttp://localhost:8090/api-docs/\n\nhttp://localhost:8090/swagger-ui/index.html\n\n![Alt text](docs/img.png)\n\n## Prometheus (Monitoring)\n\nhttp://localhost:8080/actuator/prometheus\n\n![Alt text](docs/img_1.png)\n\nCheck Prometheus scraping metrics:\n\nRaw metrics:\nhttp://localhost:9090/metrics\n\n![Alt text](docs/img_4.png)\n\nhttp://localhost:9090/graph\n\n![Alt text](docs/img_2.png)\n![Alt text](docs/img_3.png)\n\n\n## Contacts\nOwner: [beemi.raja@gmail.com](beemi.raja@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeemi%2Fspring-boot-mongodb-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeemi%2Fspring-boot-mongodb-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeemi%2Fspring-boot-mongodb-example/lists"}