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-postgres-simple

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

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

Last synced: 22 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-postgres-simple

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

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

## Docker stack
- httpd:latest
- maven:3-openjdk-17
- 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)