A modern, fully configured starter template for building fast, type-safe web applications using Go, HTMX, Tailwind CSS, Alpine.js, and Templ. This stack provides an incredible developer experience with type safety from your database all the way to your HTML.
Install dependencies:
npm install
Start the development server:
make run
This will:
Access the application at:
http://localhost:<TEMPL_PROXY_PORT>
Build the container:
docker build -t <image-tag> .
Run the container: ```bash docker run --rm \
--env-file .env
-p
-t
Access the containerized application at:
```bash
http://localhost:<local-port>
Note: The <app-port>
should match the APP_PORT
in your .env
file.
There is an in detail explanation of how the hot reloading works in this article.