We briefly discussed how the user would view different items. Instead of a search bar that would never switch endpoints, we decided it would be best to figure out how to serve up our static view to different endpoints.
Ex. localhost:3000/api/items/:id -- GOOD
Ex. localhost:3000
[1, 2, 3, etc...] -- BAD
We briefly discussed how the user would view different items. Instead of a search bar that would never switch endpoints, we decided it would be best to figure out how to serve up our static view to different endpoints.
Ex. localhost:3000/api/items/:id -- GOOD Ex. localhost:3000 [1, 2, 3, etc...] -- BAD