Thanks to visit codestin.com
Credit goes to github.com

Skip to content

informalai/Sample1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FastHTML on Vercel — Demo

This is a minimal FastHTML app deployed on Vercel Python Functions. It exposes a small HTML UI with HTMX interactions and JSON APIs.

Structure

/api/index.py      # ASGI FastHTML app with routes and UI
/requirements.txt  # Dependencies
/vercel.json       # Vercel routing + Python runtime
/README.md

Local run

pip install -r requirements.txt
python api/index.py  # optional: to test locally with uvicorn via serve()

Deploy

npm i -g vercel
vercel --prod

Releases

No releases published

Packages

No packages published

Languages