...

/

Loading Data Into MongoDB With an ApplicationRunner

Loading Data Into MongoDB With an ApplicationRunner

Learn how to load data into MongoDB with an ApplicationRunner and learn how fluxes work in a blocking programming style.

Data loader

By now, we have all the code we need to run our Spring Boot application. However, we don’t have the quotes stored in the database yet. We’ll solve this by reading them from a text version of the book and storing them into MongoDB the first time the application runs.

In the project’s GitHub repository, you’ll see a file containing the ebook in ...