mtamc / memo

Website for rating books, movies, video games, and TV shows.
0 stars 0 forks source link

Decouple database data from user data #2

Closed dustinvtran closed 2 years ago

dustinvtran commented 2 years ago

src/scrape_video_games.py currently writes the data scraped from video game databases into the user's JSON files. It's better to have a clean separation. Therefore it scales to >1 user and avoids issues such as users accidentally overwriting database data or database data accidentally overwriting user data.

ghost commented 2 years ago

Subtasks

ghost commented 2 years ago

https://github.com/td-memo/memo/commit/44ee8936f3367d7f7ccea035dc7851a589eb06da

Some bugs might come up, let's stay cautious.