https://github.com/claudioaltamura/spring-boot-data-mongodb
Spring Boot Data MongoDB example
https://github.com/claudioaltamura/spring-boot-data-mongodb
docker-compose mongodb spring-boot
Last synced: 3 months ago
JSON representation
Spring Boot Data MongoDB example
- Host: GitHub
- URL: https://github.com/claudioaltamura/spring-boot-data-mongodb
- Owner: claudioaltamura
- License: mit
- Created: 2023-03-21T14:36:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T06:59:14.000Z (over 2 years ago)
- Last Synced: 2025-01-09T08:29:47.595Z (over 1 year ago)
- Topics: docker-compose, mongodb, spring-boot
- Language: Java
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/github/claudioaltamura/spring-boot-data-mongodb)
[](https://opensource.org/licenses/MIT)
# spring-boot-data-mongodb
Spring Boot Data MongoDB example
## Docker
cd docker
docker-compose up -d
## App
./gradlew bootRun
## MongoDB
connection string
mongodb://root:admin@localhost:27017/
## examples
find all
curl http://localhost:8080/product_materials/
get one
curl http://localhost:8080/product_materials/materialNumber/ABN123