Reflex
Reflex is an open-source framework for quickly building beautiful, interactive web applications in pure Python.
Introduction
Reflex is an open-source framework for quickly building beautiful, interactive web applications in pure Python.
Getting Started
uv init app
cd app
uv init reflexInit the project
uv run reflex initThe command will return several template options to choose from as shown below.
Select “A blank Reflex app”
This will create a directory structure like this:
app
├── .web
├── assets
├── app
│ ├── __init__.py
│ └── app.py
└── rxconfig.pyInitializing your project creates a directory with the same name as your app. This is where you will write your app’s logic.
Reflex generates a default app within the app/app.py file. You can modify this file to customize your app.
Run it in development mode:
uv run reflex runEstàs llegint una vista prèvia.
Inicia sessió amb Google per llegir la pàgina completa.
Inicia sessió amb GoogleAmb qualsevol compte de Google. Només et demanarem que acceptis les condicions del servei.