Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearddan2000/javascript-web-htmx-get-mustache-python-flask-api-postgres-simple
A demo of htmx using a python flask
https://github.com/bearddan2000/javascript-web-htmx-get-mustache-python-flask-api-postgres-simple
api cors ext flask get htmx javascript mustache postgres python simple swap target web
Last synced: 23 days ago
JSON representation
A demo of htmx using a python flask
- Host: GitHub
- URL: https://github.com/bearddan2000/javascript-web-htmx-get-mustache-python-flask-api-postgres-simple
- Owner: bearddan2000
- Created: 2023-07-15T12:53:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-15T12:53:07.000Z (over 1 year ago)
- Last Synced: 2024-07-30T17:55:22.698Z (5 months ago)
- Topics: api, cors, ext, flask, get, htmx, javascript, mustache, postgres, python, simple, swap, target, web
- Language: Shell
- Homepage: https://github.com/bearddan2000/javascript-web-htmx-get-mustache-python-flask-api-postgres-simple
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# javascript-web-htmx-get-mustache-python-flask-api-postgres-simple
## Description
A demo of htmx using a python flask
api to return contents of table from
postgres.## Tech stack
- htmx
- get
- ext
- swap
- target
- mustache
- python
- flask
- cors
- postgres## Docker stack
- httpd:latest
- python:latest
- postgres:alpine## To run
`sudo ./install.sh -u`
- Available at http://localhost## To stop
`sudo ./install.sh -d`## To see help
`sudo ./install.sh -h`## Credit
- [Htmx clientside template](https://htmx.org/extensions/client-side-templates/)
- [Htmx rendering JSON](https://marcus-obst.de/blog/htmx-json-handling)