Open memaker opened 11 years ago
To do thing easy, we can create a data collection called 'searches', and store the search as a string and the associated user. Something like this: { "_id" : ObjectId("4356ñ2lkh24klh24lk254kjhkj2"), "user_id" : ObjectId("51dad1aad8c6cd4700000001"), "search" : "coca cola barcelona" }
Develop the CRUD system for the user's searches. Associate a menu option to this CRUD. The menu option shall be visible only when the user is logged