alexastef / loo

Skip to the Loo, a full-stack app designed to help people find restrooms when they're on the go. Built with Node, Express, MySQL, Sequelize, and Handlebars and uses map data from two Google APIs.
https://skip-to-the-loo.com
3 stars 4 forks source link

Search Nearby to Add Loo -- remove what's already in db #67

Open alexastef opened 4 years ago

alexastef commented 4 years ago

When a user clicks add loo --> search page and all the nearby places populate, should we filter these so that the places already in the database don't show up? Basically the opposite of the home page. That way a user can't add twice.

@mmoncayo would you want to work on the filtering here since you're already doing on the home page?

mmoncayo commented 4 years ago

that's a good point, we don't want duplicate data. I can work on this as well!

reptile18 commented 4 years ago

the other thing we could do, is if they click on a place that already has data, thinking that they're adding a new location, we can pull up the existing information so they can see that someone already put info there and they can just update it instead.