Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bearddan2000/javascript-web-htmx-mustache-python-flask-api-cockroachdb-multi-node-simple

A demo of htmx using a python flask
https://github.com/bearddan2000/javascript-web-htmx-mustache-python-flask-api-cockroachdb-multi-node-simple

api cockroachdb cors ext flask get htmx javascript multi mustache new node python simple swap target web

Last synced: 22 days ago
JSON representation

A demo of htmx using a python flask

Awesome Lists containing this project

README

        

# new-javascript-web-htmx-mustache-python-flask-api-cockroachdb-multi-node-simple

## Description
A demo of htmx using a python flask
api to return contents of table from
a multi node cluster cockroachdb.

## Tech stack
- htmx
- get
- ext
- swap
- target
- mustache
- python
- flask
- cors
- cockroachdb

## Docker stack
- httpd:latest
- python:latest
- cockroachdb/cockroach:v19.2.4

## 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)