You will need to first install and launch MongoDB on your machine.
Instructions to install and launch MongoDB can be found on the MongoDB website at https://docs.mongodb.com/manual/installation/.
Launch the SpringReactiveExampleApplication class. The following screenshot shows the screen loading the page at http://localhost:8080/stock-price.html:
The following screenshot shows the screen when the stock list is clicked on:
The following screenshot shows the screen when the Show IBM Details button is clicked on:
In this section, we quickly implemented a reactive solution for MongoDB. We saw that ReactiveMongo is designed to be reactive and avoids blocking operations.