Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amrutprabhu/spring-boot-3-with-mongodb
Spring Boot 3 MongoDB Commuication
https://github.com/amrutprabhu/spring-boot-3-with-mongodb
docker docker-compose mongodb spring spring-boot
Last synced: 27 days ago
JSON representation
Spring Boot 3 MongoDB Commuication
- Host: GitHub
- URL: https://github.com/amrutprabhu/spring-boot-3-with-mongodb
- Owner: amrutprabhu
- Created: 2022-12-25T11:00:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T18:28:27.000Z (over 1 year ago)
- Last Synced: 2024-11-12T09:50:53.956Z (3 months ago)
- Topics: docker, docker-compose, mongodb, spring, spring-boot
- Language: Java
- Homepage: https://refactorfirst.com
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot 3 with MongoDb
In this repository we see how we can communicate with MongoDB using Spring Data MongoDB
### Sample Post Request
```shell
curl --location --request POST 'http://localhost:8080/product' \
--header 'Content-Type: application/json' \
--data-raw '{
"productName" : "Macbook Pro",
"price" : "1234.456",
"attributes" :{
"CPU" : "M1",
"Model" : "X51",
"Hard Disk": "512GB"
}}'
```