cs481-ekh / f24-k-12-festival

MIT License
0 stars 0 forks source link

Dynamically populate filter options #119

Closed junebugtony closed 3 weeks ago

junebugtony commented 3 weeks ago

Replace the hard coded filter options with dynamically fetched distinct values from the database.

References user stories: #17, #19, #20, #109, #117, #118

junebugtony commented 3 weeks ago

Created a new API route to grab all distinct values from the database columns, created new fetchOptions function and implemented mapping to dynamically populate the filter options. Removed hard coded option values.

[t:120]