You need to install uwsgi:
sudo add-apt-repository universe
sudo apt update
sudo apt install python3-pip
pip3 install uwsgi
pip3 install Jinja2
In folder 'templates' there are template pages.
In file 'views.py' there are examples views.
In file 'routes.py' there are examples urls.
On these examples you may build your own views, urls and template pages.