This is a follow along of the spring.io guide:
https://spring.io/guides/gs/accessing-data-mongodb/
You can use the included docker compose file to start Mongo on your local machine.
See docker hub for more info: https://hub.docker.com/_/mongo
After starting the docker containers you can go to local Mongo Express endpoint to create a new DB - here we are using a "customer" db.