Skip to content

It's a minimalistic todo app demonstrates how to use Bun Templ htmx

Notifications You must be signed in to change notification settings

RANUX/go-htmx-todos

Repository files navigation

Simple Todo App

About

It's a minimalistic app demonstrates how to use bun templ & htmx. Project structure based on slick. You can learn more about project structure from this youtube video.

Features list

  • User authentication (login, logout, signup)
  • Add new todo
  • Edit todo
  • Delete todo
  • List user todos
  • Update user profile (username, password)
  • Flash alert messages
  • App landing page
  • Create and seed db at first start
  • Migrations
  • Password recovery
  • Show users and their todos in admin panel

Run the app

Create .env file before run. See .env.example file. You can run with different ways by make run, slick run or go run cmd/main.go. You can run in watch mode using air or make watch.

How to run in docker

Before run docker-compose create .env file to set environment variables for production.

docker-compose build
docker-compose up -d

How to stop the app

docker-compose down

About

It's a minimalistic todo app demonstrates how to use Bun Templ htmx

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published