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-get-mustache-python-flask-api-sqlserver-simple

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

api cors ext flask get htmx javascript mssql mustache python simple sqlserver swap target web

Last synced: 26 days ago
JSON representation

A demo of htmx using a python flask

Awesome Lists containing this project

README

        

# javascript-web-htmx-get-mustache-python-flask-api-sqlserver-simple

## Description
A demo of htmx using a python flask
api to return contents of table from
sql server.

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

## Docker stack
- httpd:latest
- python:latest
- mcr.microsoft.com/mssql/server:2017-CU17-ubuntu

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