Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 682 Bytes

File metadata and controls

43 lines (28 loc) · 682 Bytes

Flask and FastUI

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...

How to run

Clone the repo

git clone https://github.com/hasansezertasan/fastui-tutorials.git
cd fastui-tutorials

Change directory to the example

cd examples/flask-fastui

Create a virtual environment

  • Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate

Install the requirements

pip install -r 'requirements.txt'

Run the application

python app.py