Skip to content

Badhan-abhishek/go-htmx-2

Repository files navigation

Go HTMX Task Manager

Based on Go, HTMX, Gorm, tailwindcss & atlas for migrations. A simple project-task manager for personal use. Create projects and tasks to those projects

Setup

  1. Clone the repository

  2. Run go mod tidy to install the dependencies

  3. Install atlas and go ($GOPATH should be set)

    go get github.com/pressly/atlas/cmd/atlas

    and

    go get github.com/cosmtrek/air`
  4. Verify DB credentials in cmd/models/db.go & atlas.hcl

  5. Run migrations

    atlas migrate apply --env gorm
  6. Install node packages using pnpm (for tailwindcss)

    pnpm install
  7. Run the server

    air # for development
  8. Open the browser and go to http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published