Skip to content

Example Project

An example project is included in the repo's example directory.


To run the example project:

# Enter the example directory
cd example

# Install the dependencies (in a virtual environment, ideally)
pip install -r requirements.txt

# Transpile the validators from Python to JavaScript

./ transpile_validators

# Run the server
./ runserver

Visit in your browser to view a form with a number of validator functions.


Example project form with JS validators gif