I have a website, mainly built with HTML/CSS/JavaScript. There are a few places where I'd like to use a python library, or just write in python, and then create specific functions with Flask.
Basically, I have functions in Python/Flask that return JSON, which I'd like to call from JavaScript. How can I deploy Flask if I don't want my website to be an entirely Flask-based thing? If I want to write one or two files here and there with Python/Flask but the rest in JavaScript, how do I deploy it? What I've found online seems to be a solution to deploying Flask as a solution for the whole site, not just for a few individual scripts.
If it helps at all, I could have all my Flask apps in one directory.