Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bwhtdev/gotth
Basic app with GoTTH stack
https://github.com/bwhtdev/gotth
air go htmx tailwindcss templ
Last synced: about 1 month ago
JSON representation
Basic app with GoTTH stack
- Host: GitHub
- URL: https://github.com/bwhtdev/gotth
- Owner: bwhtdev
- Created: 2024-02-03T21:59:05.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-04T01:24:37.000Z (11 months ago)
- Last Synced: 2024-10-30T01:03:58.264Z (about 2 months ago)
- Topics: air, go, htmx, tailwindcss, templ
- Language: Go
- Homepage:
- Size: 17.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Basic app with GoTTH stack:
- Go
- Templ
- Tailwind CSS
- HTMX## Technologies
### Tailwind
https://tailwindcss.com/blog/standalone-cli## Makefile
This Makefile is designed to simplify common development tasks for your project. It includes targets for building your Go application, watching and building Tailwind CSS, generating templates, and running your development server using Air.### Targets:
```bash
make tailwind-watch
```
This target watches the ./static/css/input.css file and automatically rebuilds the Tailwind CSS styles whenever changes are detected.```
make tailwind-build
```
This target minifies the Tailwind CSS styles by running the tailwindcss command.```
make templ-generate
```
This target generates templates using the templ command.```
make dev
```
This target runs the development server using Air, which helps in hot-reloading your Go application during development.```
make build
```
This target orchestrates the building process by executing the tailwind-build, templ-generate, and go build commands sequentially. It creates the binary output in the ./bin/ directory.