connect mongo db uri in maven project application.yaml code example
Example: connecting to mongo database in spring boot
spring.data.mongodb.uri: mongodb://<hostInformation>/<DatabaseName>
spring.data.mongodb.uri: mongodb://<hostInformation>/<DatabaseName>