codeforsanjose / smelly-cat

Better searching and visualizing of the Trash Pickup Days data across San Jose
MIT License
5 stars 2 forks source link

Store data in Firebase #22

Open jkanive opened 8 years ago

jkanive commented 8 years ago

Once the user clicks on "Set" the data should be stored in Firebase. Future enhancement on this would to be

  1. Validate the Phone number - (Send and get SMS code to make sure the person entering the phone number is the owner).
  2. Check if the Phone number is a valid US phone number.
jkanive commented 8 years ago

Added the Firebase integration on Modal.js. Currently there is no validation to check if the row already exists. So it keeps pushing data to firebase if you keep clicking on the Set button on the Modal window.

So couple of things pending at this point.

  1. Check if the row exists.
  2. Validate the Phone number and Time.
  3. If the Pickup Day is N/A then don't allow to setup alerts.