I want to be able to call on a list of files that are being processed by the server. The problem is, I want to call them on a web app (think React) whenever a user does something. i.e. a list of all possible choices and possible regex to narrow the list down.
How do you think I should store these names? I don't want to store it in the database for obvious reasons that database calls for something that won't change is pretty silly. It only needs to be read on startup of the application. So perhaps I can store it in memory on the server and just call through an api whenever I need.
python and client is a mix of
reactjs and other tech.
How should I store these files smartly?