This is a simple interactive web application built with Go, htmx, and Bootstrap. It serves as a to-do list application for learning purposes. The application allows you to create tasks, mark tasks as completed, delete tasks, and clear all tasks.
- Create new tasks.
- Mark tasks as completed or incomplete.
- Delete individual tasks.
- Clear all tasks at once.
- Go (Golang) for the backend.
- htmx for dynamic HTML updates.
- Bootstrap for styling.
- SQLite for the database.
-
Clone this repository:
git clone https://github.com/danielmeint/go-htmx-tasklist
-
Navigate to the project directory:
cd go-htmx-tasklist
-
Install Go dependencies:
go get
-
Run the application:
go run main.go
-
Access the application in your web browser at http://localhost:8080.
- Create a new task: Enter a task name in the input field and click "Add Task."
- Mark a task as completed: Click the checkbox next to the task.
- Delete a task: Click the "Delete" button next to the task.
- Clear all tasks: Click the "Clear All Tasks" button.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to the original repository.
This project is licensed under the MIT License. See the LICENSE file for details.