First, let us set up a bare-bone Flask project. Make sure that python 3 is installed in your system as it is the only dependency needed to create a flask project. In case you need to install python, here are the official tutorials for almost…