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-java-spring-api-mysql-simple

A demo of htmx using a java springboot
https://github.com/bearddan2000/javascript-web-htmx-get-mustache-java-spring-api-mysql-simple

api cors ext get htmx java javascript mustache mysql simple spring swap target web

Last synced: 25 days ago
JSON representation

A demo of htmx using a java springboot

Awesome Lists containing this project

README

        

# javascript-web-htmx-get-mustache-java-spring-api-mysql-simple

## Description
A demo of htmx using a java springboot
api to return contents of table from
mysql.

## Tech stack
- htmx
- get
- ext
- swap
- target
- mustache
- java
- spring
- cors
- mysql

## Docker stack
- httpd:latest
- maven:3-openjdk-17
- mariadb:latest

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