This app just needs an actual refactoring effort put into it. Here's an idea on how to deploy a vagarish V2 backend:
Don't hold two different DB systems. Don't use filesystem, use mongodb. Filesystem should only be used for temp files that need processing (such as pdf), and then promptly deleted
Document how is this supposed to work
Don't refetch all info from scratch every time, that takes so much time and makes it hard to timely update. Just store the last timestamp.
Obviously, don't delete everything and rebuild everything every update.
With KlerosV2 holding a different interface, maybe this should just stay unmaintained until then
This app just needs an actual refactoring effort put into it. Here's an idea on how to deploy a vagarish V2 backend:
With KlerosV2 holding a different interface, maybe this should just stay unmaintained until then