Hi, thanks for the website, it's amazing.
I am always looking through the list of gear when I'm searching for a tool or just wandering around, and it's really useful for me.
I was thinking about how I can contribute by adding a search page, in which the user can search in all the gears for a given keyword.
I checked the APIs https://usesthis.com/api/v2/hardware/01v96i/
and https://usesthis.com/api/v2/hardware/01v96i/
and looking through the api.rb
file, and it seems like you are manually building the entire list and r of gears and relationship with an interview.
Search API
I'm thinking 2 approaches:
- We can load all the JSON in a MongoDB database, and search through that. It'll help with performance and pagination. I can put a little JS application in the middle that generates the search API.
- We can use the list you load in the
api.rb
files, and implement the search there.
Search Page
After that, I should somehow create the page on the website for searching through the gears, calling the search API. Not 100% sure if that is possible, as it seems a static generate website.
What do you think about the idea? You think is technically doable?