A simple todolist made with Go, HTMX, Posgresql.
Additional tools used:
- golang-migrate
- Tailwind
- Docker
- gorilla/mux
It displays a list of todos ordered by:
- whether it is done or not
- created date
/db
: database connection, migrations, db variable exposed as TodoDB
/todo
: Todo
database model, CRUD operation on Todo
model
/routes
: registers backend paths for CRUD operation
Makefile
: makefile for the shell commands
// connect to db, create db, create table
$ make init
$ make createdb
$ make migrateup
// run go
$ go run main.go
- multiple users / user authentication
- edit todos
- reorder todos