GamerKingFaiz / shouldiplay

Web app that combines data from HowLongToBeat and OpenCritic.
https://shouldiplaythis.com
MIT License
48 stars 4 forks source link

Store data in queryable format #1

Closed GammaGames closed 2 years ago

GammaGames commented 2 years ago

This might be a bit of a design shift, I haven't really looked through the code much.

It would be nice if the server could cache the data once a day, then serve that cache. It could store the most popular permutations available, before serving the cache as an SQLite database. It'd be faster to send requests to a server that processes and responds only what is needed, but if you want very few server costs it might be the way to go.

Miiiiight be able to run the updates on GitHub tasks, I've done that for a few small projects. elementary's releases page does this as well: https://github.com/elementary/releases

GamerKingFaiz commented 2 years ago

I'm not in control of any of the backends at this point. I just leverage the HowLongToBeat npm package and the OpenCritic API.

Implementing a database/cache for this project is way beyond the current scope of this project.