Skip to content

Latest commit

 

History

History

simple-form

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Simple Form: BMI Calculator

This example is inspired by PyWebIO documentation. It is the first example in the documentation so I thought it would be a good idea to use it as a starting point for forms in FastUI.

Used Components:

  • PageTitle
  • Page
  • Heading
  • Paragraph
  • ModelForm

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/simple-form

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

uvicorn main:app