I have build some APIs in Flask and now I wanted to deploy them on my company's server. I am new to flask and previously worked with spring boot and knows that we make jar using maven and deploy to the sever.
What is the procedure to deploy flask API to the sever?
This is my project structure.
You need to run your app on a non-reserved port production Flask server, and then make sure to run a reverse proxy such as nginx for speed and so you can serve to port 80 or 443 and for speed. Don't run your Flask server as root as it's insecure, only the proxy.