Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cscortes/htmxflask
All the HTMX samples redone using a flask server
https://github.com/cscortes/htmxflask
Last synced: 3 months ago
JSON representation
All the HTMX samples redone using a flask server
- Host: GitHub
- URL: https://github.com/cscortes/htmxflask
- Owner: cscortes
- License: mit
- Created: 2020-06-08T01:26:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-08T00:11:06.000Z (over 2 years ago)
- Last Synced: 2024-05-20T21:23:48.959Z (6 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 88
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-htmx - htmxflask - All the HTMX samples redone using a flask server. (Examples by Back-end / Python-based (Django, FastAPI, Flask))
README
# htmxflask
All the HTMX examples redone using a FLASK server backend.To see the original HTMX samples, go to
https://htmx.org/examples/.The idea is to create server and client side examples
that will display the full amount of effort required.* Since HTMX is in flux I will be using developmental version of HTMX.
* The most current version of HTMX is 0.0.4.## Client Side Notes:
* Example of how to use a particular version of HTMX in your web pages:
```html
```
## Server Side Notes:
To "run" the python side myapp.py you need to have flask installed and possibly other
modules. PIPENV is what you need to get it install and run.
**pipenv install**
CD into one of the Major directories and you can "run" the flask server with:**pyenv shell**
**python myapp.py**
This will setup your server on localhost:5000.
Open a browsers, and in the url bar type:
http://localhost:5000