Skip to content

A template project for webprojects built with FastAPI and HTMX

Notifications You must be signed in to change notification settings

akilmarshall/fast-htmx-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI + HTMX Template

A template project for quickly setting up web projects that try to conform to HATEOAS.

FastAPI serves HTML from the backend and HTMX allows for targeted reloading of the application state. Jinja templates with the flexibility of HTMX allows for the creative and efficient design of many kinds of web applications.

Setup

Use a virtualenv or don't, i'm not the police.

  • dependencies:
    • python:
      • fastapi[standard]
    • htmx
$ make setup

Run

$ # testing
$ make dev
$ # production
$ sudo fastapi run app.py --host 0.0.0.0 --port 80

About

A template project for webprojects built with FastAPI and HTMX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published