Flask and FastUI is a simple example project that shows how to use FastUI with Flask.
Is it possible?
Well, the answer at pydantic/FastUI#85 says "yes", but we need to try it...
git clone https://github.com/hasansezertasan/fastui-tutorials.git
cd fastui-tutorials
cd examples/flask-fastui
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install -r 'requirements.txt'
python app.py