This is a demonstation on how to use HTMX and FasAPI together.
After cloning this Repo:
git clone https://github.com/devaxio/htmx-fastapi/Open that directory, and then use conda to create and activate an enviroment:
conda create --name <env> --file requirments.txt
conda activate <env>- Change
<env>with any name you want.
Then, run the uvicorn server:
uvicorn htmx-fastapi:app --reload