chrisdesilva / pickup

App for finding nearby basketball courts for pickup games
MIT License
14 stars 28 forks source link

Filter games by start time #25 #48

Open bethurban opened 4 years ago

bethurban commented 4 years ago

Users can select a start date/time and an end date/time to filter displayed courts. The courts that will show up on the map have at least one game scheduled between that range. The end date/time input has a minDate attribute to restrict it to date/times falling on or after the start date/time.

I had to reconfigure Firebase in fire.js to connect with my db so I would have data to work with. I installed the moment-range library to use in the Map component: https://github.com/rotaready/moment-range.