From the course: Creating Spring Boot Microservices
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Solution: Create the Spring Boot MongoDB project - Spring Boot Tutorial
From the course: Creating Spring Boot Microservices
Solution: Create the Spring Boot MongoDB project
(upbeat music) - [Narrator] Were you able to figure it out? In the Branch > 08_03 that I have here, I have the results of how I did it myself. And so I have a explorecali-images folder, which is a sibling to explorecali-jpa. And here's the POM.xml with the name and the version>21. There's actuator, mongodb, web, docker-compose, lombok, our openapi, and then starter-test always comes along. There's the maven-plugin and then it also generated the ExplorecaliImagesApplication class. And finally it also generated this compose.yaml file. And these are settings specifically for mongodb. So now that we have all that in place, we should be able to run, compile and run everything and see that Docker Compose kicks in to connect to a real MongoDB image. So that will build it, and then spring-boot:run. We'll start off the Docker Compose and launch the application. See the Docker CLI is starting and Tomcat has started up. We see the popup for seeing Open in Browser. And for this URL, there's…