I imagine that when we store the prices of commonly-purchased items, we'll want to put that in its own .json file. I wanted all of these files to live in one place --- ideally something like storage/ --- so I made a common dir for storing info in multiple .json files.
I also wanted a more abstract storage package for accessing info in any of the .json files that we store. This PR is my take on how this should be implemented. Let me know if you have other ideas.
I imagine that when we store the prices of commonly-purchased items, we'll want to put that in its own .json file. I wanted all of these files to live in one place --- ideally something like
storage/
--- so I made a common dir for storing info in multiple .json files.I also wanted a more abstract
storage
package for accessing info in any of the .json files that we store. This PR is my take on how this should be implemented. Let me know if you have other ideas.