This app is discussed in detail in the Flask Forms chapter of Python Beginners.
actors.py is the Flask app script.
The templates are using Flask-Bootstrap (v.5) and Flask-WTF.
A live version of this app can be viewed here:
https://actors-search.onrender.com/
It does not use a database; it uses a simple 100-item data file named data.py.
.