This is a simple todo application written in Go using the gin web framework, templ for templating, and htmx for seamless client-server communication. The goal of this project was to explore these technologies and gain hands-on experience with htmx, which piqued my interest due to its unique approach.
- Go: A powerful and efficient programming language.
- gin: A web framework for Go, providing routing, middleware, and more.
- templ: A templating engine for Go that simplifies HTML generation.
- htmx: A JavaScript library for AJAX without writing JavaScript.
For the frontend, I opted for a hassle-free approach and used v0 by Vercel. This allowed me to focus more on the backend logic without delving into extensive frontend development.
- Clone this repository:
git clone https://github.com/kkoutsilis/todo-go-htmx.git
- Navigate to the project directory:
cd todo-go-htmx
- Install dependencies:
go get ./...
- Build and run the application
go run .
- Open your web browser and navigate to http://localhost:8080 to access the app.
As I am still relatively new to Go and its ecosystem, I plan to continue learning and expanding my skills in both backend and frontend development. Suggestions and contributions are welcome!
Feel free to reach out if you have any questions or feedback.