I am looking to implement a feature on a website where data is submitted to MongoDB from one page, and then retrieved and displayed on another page. The technologies I am working with include node.js, express, Mongoose, and MongoDB.
Currently, the data is successfully submitted to the database and appears correctly in the layout, but I am struggling to display it on the page itself.
Could someone please provide me with an example code snippet for achieving this functionality?
This is all quite new to me, and I am still in the process of learning. Any help would be greatly appreciated! Thanks!