I need to initialize a Mongo DB with some script file like Spring do with JPA and import.sql file.. but how?
Can someone help me?
You could use something similar that's done by mongeez. This is basically a starter for spring-boot that runs scripts before spring-data-mongodb beans are initialized.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With