Categorygithub.com/morethancoder/goat
repositorypackage
0.0.0-20241017132028-416fc3c35c77
Repository: https://github.com/morethancoder/goat.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

GOAT

Banner

This project is a starting point for developing web apps using a-h/templ.

Tech Stack

Dependencies

  • Alpine.js (as a file under /public/static/js/alpine.min.js)
  • Bun (or Yarn or pnpm) used to install/run Vite and Tailwind CSS
  • Go
  • Templ CLI (install using go install github.com/a-h/templ/cmd/templ@latest)
  • Make
  • entr

Usage

  1. Clone the repo:

    git clone https://github.com/morethancoder/goat.git
    
  2. Initialize the project:

    go mod init yourprojectname && go mod tidy
    
  3. Change the import in main.go:

    // Change this:
    "morethancoder/goat/components"
    // To:
    "yourprojectname/components"
    
  4. Install required Node modules:

    bun install
    
  5. Start the Vite dev server:

    make vite
    
  6. Start file watching & compiling:

    make watch
    
  7. Star the repo!