nchaloult / apt-grocery

A GroupMe bot that manages an apartment-wide grocery list
1 stars 2 forks source link

Refactored list/ to storage/ in prep for storing prices #8

Closed nchaloult closed 5 years ago

nchaloult commented 5 years ago

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.