Skip to content

ronakmehtav/httpGo

Repository files navigation

Todo App

To understand and work with go, htmx and sqlite3 to make a simple todo app. The app is not going to be online ever. The idea is to have a CLI interface and Web interface for GUI.

Goals

  • Create a Server which can server html pages.
  • Add a styling system.
  • Add htmx for interaction handling.
  • Connect to a local sqlite3 db.
  • Make a CLI interface.
  • Organise the Project in multiple module.
  • Introduce Date,Showing past month and rest in a new tab.

Possible Feature Addition

  • Classification of Task (Tags).
  • Sub Tasks.
  • Archiving in some different format.

Learnings

  • Go template is good enough to solve this problem. The type safety of templ is good, But it is not bad right now.
  • TailwindCss is not bad. I enjoyed using it as utility css. Though I did add one custom css in. You can see that in input.css file. It handle's my logic of having different style when the task is marked done.

Run commands

go run main.go

Development commands

npm run tailwind
go run main.go

Current State

Todo Web View

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published