This is a practice from the course HTMX & Go taught by ThePrimeagen in Froned Masters.
This is a simple setup for this project.
For this project you will need to have installed:
After that is installed.
gh repo clone AlejandroSuero/htmx-with-golang-practice
cd htmx-with-golang-practice
go mod init yourwebsite.tv/yourname
Once you have Go installed in your system, you will need the following packages
Air, a hot-reloading package using echo.
go install github.com/cosmtrek/air@latest
To install the remaining packages:
go mod tidy
This will install
echo/v4
andecho/v4/middleware
You can just type air
in the terminal and go to localhost:42069