Hi guys I am creating a web application using node and mongo.
I finished the version 1 of the app yesterday. It stores all the data in an array.
Today I started v2 and added mongo db in my app. I installed mongo and mongoose and all other requirement to read and write data to my app.
But the problem is that I have an edit button and it has a link which containes an id.
Version 1 had the index of an array in the link,
In Version 2 i added the id coming from mongo db.
But when i save it , It is showing that the file is saved , but when i load the app to work on it. it is showing the older link.
I am stuck. Any ideas?