app.py is the Flask server that hosts the algorithm on Vercel. It handles the dataflow between the web app, database and matching algorithm. To run the server locally in debug mode: flask run --debug