Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 727 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 727 Bytes

Pydantic forms example

This repository contains a working example of a FastAPI application with the pydantic forms frontend and backend modules working together. It shows how you can use the pydantic forms pypy module on top of pydantic models to automatically generate forms on the frontend using the pydantic forms npm module that ask for user input. It also show validation and processing of the user input.

installation

To install using a virtual environment:

$ python venv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ fastapi dev main.py